Skip to content

Commit

Permalink
Merge branch 'master' into dev/suess/Prism.Avalonia
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianSuess committed Aug 22, 2024
2 parents 0d3985e + 66b1ab3 commit 9baea1a
Show file tree
Hide file tree
Showing 573 changed files with 634 additions and 31,846 deletions.
4 changes: 0 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@ global.json @dansiegel
/src/Wpf/ @brianlagunas
/tests/Wpf/ @brianlagunas
/e2e/Wpf/ @brianlagunas

# Xamarin.Forms
/src/Forms/ @dansiegel
/tests/Forms/ @dansiegel
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
26 changes: 0 additions & 26 deletions .github/workflows/build_forms.yml

This file was deleted.

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
8 changes: 5 additions & 3 deletions .github/workflows/build_uno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ on:

jobs:
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
windows-sdk-version: 18362
dotnet-version: 8.0.x
uno-check: true
dotnet-version: 8.0.300
install-workload: ios android macos maccatalyst wasm-tools
uno-check: false
uno-check-version: 1.25.1
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip androidemulator --skip androidsdk --skip vsmac --skip dotnetnewunotemplates'
run-tests: false
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
61 changes: 20 additions & 41 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,30 @@ name: Prism CI

on:
push:
branches: [ master ]
branches:
- master
- 'releases/**'
paths:
- .github/workflows/ci.yml
- Directory.Build.props
- Directory.Build.targets
- Directory.Packages.props
- xunit.runner.json
- version.json
- LICENSE
- global.json
- 'src/**'
pull_request:
branches: [ master ]
branches:
- master
- 'releases/**'
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 +39,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 @@ -45,28 +52,16 @@ jobs:
codeSignClientSecret: ${{ secrets.CodeSignClientSecret }}
codeSignCertificate: ${{ secrets.CodeSignCertificate }}

build-prism-forms:
uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master
with:
name: Build Prism.Forms
solution-path: PrismLibrary_Forms.slnf
code-sign: true
artifact-name: Forms
jdk-version: 13
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
codeSignTenantId: ${{ secrets.CodeSignTenantId }}
codeSignClientSecret: ${{ secrets.CodeSignClientSecret }}
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
windows-sdk-version: 18362
uno-check: true
dotnet-version: 8.0.300
install-workload: ios android macos maccatalyst wasm-tools
uno-check: false
uno-check-version: 1.24.0
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip androidemulator --skip androidsdk --skip vsmac --skip dotnetnewunotemplates'
run-tests: false
code-sign: true
Expand All @@ -79,7 +74,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 All @@ -94,7 +89,7 @@ jobs:
codeSignCertificate: ${{ secrets.CodeSignCertificate }}

generate-consolidated-artifacts:
needs: [build-prism-core, build-prism-wpf, build-prism-forms, build-prism-uno, build-prism-maui]
needs: [build-prism-core, build-prism-wpf, build-prism-uno, build-prism-maui]
runs-on: windows-latest
steps:
- name: Checkout
Expand All @@ -112,12 +107,6 @@ jobs:
name: Wpf
path: artifacts\Wpf

- name: Download Forms
uses: actions/download-artifact@v3
with:
name: Forms
path: artifacts\Forms

- name: Download Uno
uses: actions/download-artifact@v3
with:
Expand All @@ -141,7 +130,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 @@ -151,21 +140,11 @@ 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:
name: Deploy Commercial Plus
secrets:
feedUrl: ${{ secrets.PRISM_NUGET_FEED }}
apiKey: ${{ secrets.PRISM_NUGET_TOKEN }}

deploy-sponsors:
uses: avantipoint/workflow-templates/.github/workflows/deploy-nuget.yml@master
needs: generate-consolidated-artifacts
if: ${{ github.event_name == 'push' }}
with:
name: Deploy Sponsor Connect
secrets:
feedUrl: ${{ secrets.SPONSOR_CONNECT_NUGET_FEED }}
apiKey: ${{ secrets.SPONSOR_CONNECT_TOKEN }}
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 }}
42 changes: 14 additions & 28 deletions .github/workflows/start-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ 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
code-sign: true
artifact-name: Core
build-args: /p:OfficialRelease=true
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand All @@ -19,27 +20,13 @@ 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
code-sign: true
artifact-name: Wpf
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
codeSignTenantId: ${{ secrets.CodeSignTenantId }}
codeSignClientSecret: ${{ secrets.CodeSignClientSecret }}
codeSignCertificate: ${{ secrets.CodeSignCertificate }}

build-prism-forms:
uses: avantipoint/workflow-templates/.github/workflows/msbuild-build.yml@master
with:
name: Build Prism.Forms
solution-path: PrismLibrary_Forms.slnf
code-sign: true
artifact-name: Forms
jdk-version: 13
build-args: /p:OfficialRelease=true
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand All @@ -48,16 +35,20 @@ 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
windows-sdk-version: 18362
uno-check: true
dotnet-version: 8.0.300
install-workload: ios android macos maccatalyst wasm-tools
uno-check: false
uno-check-version: 1.25.1
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip androidemulator --skip androidsdk --skip vsmac --skip dotnetnewunotemplates'
run-tests: false
code-sign: true
artifact-name: Uno
build-args: /p:OfficialRelease=true
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand All @@ -66,14 +57,15 @@ 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
dotnet-version: 8.0.x
install-workload: maui maui-tizen
code-sign: true
artifact-name: Maui
build-args: /p:OfficialRelease=true
secrets:
codeSignKeyVault: ${{ secrets.CodeSignKeyVault }}
codeSignClientId: ${{ secrets.CodeSignClientId }}
Expand All @@ -82,7 +74,7 @@ jobs:
codeSignCertificate: ${{ secrets.CodeSignCertificate }}

generate-consolidated-artifacts:
needs: [build-prism-core, build-prism-wpf, build-prism-forms, build-prism-uno]
needs: [build-prism-core, build-prism-wpf, build-prism-uno]
runs-on: windows-latest
steps:
- name: Checkout
Expand All @@ -100,12 +92,6 @@ jobs:
name: Wpf
path: artifacts\Wpf

- name: Download Forms
uses: actions/download-artifact@v3
with:
name: Forms
path: artifacts\Forms

- name: Download Uno
uses: actions/download-artifact@v3
with:
Expand All @@ -129,7 +115,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
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@

<!-- Versioning -->
<PropertyGroup>
<PackageReleaseNotes>https://github.com/PrismLibrary/Prism/releases/tag/v$(Version)</PackageReleaseNotes>
<PackageReleaseNotes Condition="$(OfficialRelease) == 'true'">https://github.com/PrismLibrary/Prism/releases/tag/$(Version)</PackageReleaseNotes>
</PropertyGroup>

<PropertyGroup Condition=" $(TargetFramework.StartsWith('MonoAndroid')) ">
Expand Down
Loading

0 comments on commit 9baea1a

Please sign in to comment.