Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add release branches to build (backport #3193) #3204

Merged
merged 4 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/build_forms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_maui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_uno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_wpf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
22 changes: 13 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Prism CI

on:
push:
branches: [ master ]
branches:
- master
- release/stable/*
paths:
- .github/workflows/ci.yml
- Directory.Build.props
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
12 changes: 6 additions & 6 deletions .github/workflows/start-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading