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 409a97007..1e963548d 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,10 +158,9 @@ 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' }} - environment: NuGet with: name: Deploy Commercial Plus secrets: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 085f61e88..31cac33c8 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -6,19 +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 - environment: NuGet + 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 }} diff --git a/.github/workflows/start-release.yml b/.github/workflows/start-release.yml index 75753f69f..d13c57a77 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 @@ -19,7 +19,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 @@ -33,7 +33,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 @@ -48,7 +48,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 @@ -66,7 +66,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 @@ -129,7 +129,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