Skip to content

Commit

Permalink
ci-cd: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
roxk committed Mar 28, 2024
1 parent 58d2dc3 commit 484b989
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ jobs:
- uses: actions/checkout@v3
- working-directory: WinUI3XamlPreview
run: ./scripts/ci
no-build-test:
runs-on: windows-2022
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- working-directory: WinUI3XamlPreview
run: ./scripts/format -check
build:
runs-on: windows-2022
needs: ["test"]
needs: ["no-build-test"]
if: startsWith(github.ref, 'refs/tags/v')
env:
VERSION: 0.1.0
Expand All @@ -29,7 +36,7 @@ jobs:
- uses: actions/checkout@v3
- working-directory: WinUI3XamlPreview
run: |
./scripts/build -version $env:VERSION
./scripts/build-nuget -version $env:VERSION
./scripts/publish-nuget -version $env:VERSION
build-extension:
runs-on: windows-2022
Expand Down

0 comments on commit 484b989

Please sign in to comment.