Skip to content

Commit

Permalink
Merge pull request #2950 from PrismLibrary/dev/ds/fix-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel authored Sep 5, 2023
2 parents 29c0356 + 2bbadb8 commit 2ff1836
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 63 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_uno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
name: Build Prism.Uno
solution-path: PrismLibrary_Uno.slnf
dotnet-version: 7.0.102
dotnet-version: 7.0.400
windows-sdk-version: 18362
uno-check: true
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip vsmac'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
with:
name: Build Prism.Uno
solution-path: PrismLibrary_Uno.slnf
dotnet-version: 7.0.102
dotnet-version: 7.0.400
windows-sdk-version: 18362
uno-check: true
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip vsmac'
Expand All @@ -82,6 +82,8 @@ jobs:
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
secrets:
Expand Down
60 changes: 0 additions & 60 deletions .github/workflows/dotnet-format-daily.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: dotnet_format

on:
pull_request:
branches:
- master
paths:
- 'e2e/**'
- 'src/**'
- 'tests/**'

jobs:
dotnet_format:
runs-on: windows-latest
steps:
- name: Install dotnet-format
run: dotnet tool install -g dotnet-format

- name: Checkout repo
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: Run dotnet format
id: format
uses: jfversluis/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
only-changed-files: true
workspace: "PrismLibrary.sln"
4 changes: 3 additions & 1 deletion .github/workflows/start-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
with:
name: Build Prism.Uno
solution-path: PrismLibrary_Uno.slnf
dotnet-version: 7.0.102
dotnet-version: 7.0.400
windows-sdk-version: 18362
uno-check: true
uno-check-parameters: '--skip xcode --skip gtk3 --skip vswin --skip vsmac'
Expand All @@ -70,6 +70,8 @@ jobs:
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
secrets:
Expand Down

0 comments on commit 2ff1836

Please sign in to comment.