diff --git a/.github/workflows/build_core.yml b/.github/workflows/build_core.yml index 7b2a3a22e..6facbfa90 100644 --- a/.github/workflows/build_core.yml +++ b/.github/workflows/build_core.yml @@ -17,7 +17,7 @@ on: jobs: build-prism-core: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Core solution-path: PrismLibrary_Core.slnf diff --git a/.github/workflows/build_forms.yml b/.github/workflows/build_forms.yml index dd325f37e..764b062d5 100644 --- a/.github/workflows/build_forms.yml +++ b/.github/workflows/build_forms.yml @@ -19,7 +19,7 @@ on: jobs: build-prism-forms: - uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1 with: name: Build Prism.Forms solution-path: PrismLibrary_Forms.slnf diff --git a/.github/workflows/build_maui.yml b/.github/workflows/build_maui.yml index 3593548a7..80725015a 100644 --- a/.github/workflows/build_maui.yml +++ b/.github/workflows/build_maui.yml @@ -20,7 +20,7 @@ on: jobs: build-prism-maui: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Maui solution-path: PrismLibrary_Maui.slnf diff --git a/.github/workflows/build_uno.yml b/.github/workflows/build_uno.yml index f7d17a49f..8fd3baae0 100644 --- a/.github/workflows/build_uno.yml +++ b/.github/workflows/build_uno.yml @@ -21,7 +21,7 @@ on: jobs: build-prism-uno: - uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@dev/update-netsdkinstaller + uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1 with: name: Build Prism.Uno solution-path: PrismLibrary_Uno.slnf diff --git a/.github/workflows/build_wpf.yml b/.github/workflows/build_wpf.yml index 1399ea5b6..6da41c003 100644 --- a/.github/workflows/build_wpf.yml +++ b/.github/workflows/build_wpf.yml @@ -19,7 +19,7 @@ on: jobs: build-prism-wpf: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Wpf solution-path: PrismLibrary_Wpf.slnf diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0edf7a1a..768d197da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,9 @@ name: Prism CI on: push: - branches: [ master ] + branches: + - master + - release/stable/* paths: - .github/workflows/ci.yml - Directory.Build.props @@ -11,14 +13,16 @@ on: - xunit.runner.json - 'src/**' pull_request: - branches: [ master ] + branches: + - master + - release/stable/* paths: - .github/workflows/ci.yml workflow_dispatch: jobs: build-prism-core: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Core solution-path: PrismLibrary_Core.slnf @@ -32,7 +36,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-wpf: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Wpf solution-path: PrismLibrary_Wpf.slnf @@ -46,7 +50,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-forms: - uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1 with: name: Build Prism.Forms solution-path: PrismLibrary_Forms.slnf @@ -61,7 +65,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-uno: - uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1 with: name: Build Prism.Uno solution-path: PrismLibrary_Uno.slnf @@ -82,7 +86,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-maui: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Maui solution-path: PrismLibrary_Maui.slnf @@ -144,7 +148,7 @@ jobs: path: .\artifacts\nuget deploy-internal: - uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget.yml@master + uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget.yml@v1 needs: generate-consolidated-artifacts if: ${{ github.event_name == 'push' }} with: @@ -154,7 +158,7 @@ jobs: apiKey: ${{ secrets.IN_HOUSE_API_KEY }} deploy-commercial-plus: - uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget.yml@master + uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget.yml@v1 needs: generate-consolidated-artifacts if: ${{ github.event_name == 'push' }} with: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index f3f5393c0..31cac33c8 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -6,24 +6,13 @@ on: jobs: publish-internal: - uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget-from-release.yml@master + uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget-from-release.yml@v1 secrets: feedUrl: ${{ secrets.IN_HOUSE_NUGET_FEED }} apiKey: ${{ secrets.IN_HOUSE_API_KEY }} publish-commercial-plus: - uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget-from-release.yml@master + uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget-from-release.yml@v1 secrets: feedUrl: ${{ secrets.PRISM_NUGET_FEED }} apiKey: ${{ secrets.PRISM_NUGET_TOKEN }} - - publish-nuget: - uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget-from-release.yml@master - secrets: - apiKey: ${{ secrets.NUGET_API_KEY }} - - publish-sponsors: - uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget-from-release.yml@master - secrets: - feedUrl: ${{ secrets.SPONSOR_CONNECT_NUGET_FEED }} - apiKey: ${{ secrets.SPONSOR_CONNECT_TOKEN }} diff --git a/.github/workflows/start-release.yml b/.github/workflows/start-release.yml index 28550d83b..23fd0074e 100644 --- a/.github/workflows/start-release.yml +++ b/.github/workflows/start-release.yml @@ -5,7 +5,7 @@ on: jobs: build-prism-core: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Core solution-path: PrismLibrary_Core.slnf @@ -20,7 +20,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-wpf: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Wpf solution-path: PrismLibrary_Wpf.slnf @@ -35,7 +35,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-forms: - uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1 with: name: Build Prism.Forms solution-path: PrismLibrary_Forms.slnf @@ -51,7 +51,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-uno: - uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@v1 with: name: Build Prism.Uno solution-path: PrismLibrary_Uno.slnf @@ -70,7 +70,7 @@ jobs: codeSignCertificate: ${{ secrets.CodeSignCertificate }} build-prism-maui: - uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@master + uses: avantipoint/workflow-templates/.github/workflows/dotnet-build.yml@v1 with: name: Build Prism.Maui solution-path: PrismLibrary_Maui.slnf @@ -134,7 +134,7 @@ jobs: path: .\artifacts\nuget release: - uses: avantipoint/workflow-templates/.github/workflows/generate-release.yml@master + uses: avantipoint/workflow-templates/.github/workflows/generate-release.yml@v1 needs: [generate-consolidated-artifacts] permissions: contents: write