Skip to content

Commit

Permalink
ci-cd: Fix nuget build running on extension tag
Browse files Browse the repository at this point in the history
  • Loading branch information
roxk committed Apr 10, 2024
1 parent 979e466 commit 5bd0022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
run: ./scripts/ci
no-build-test:
runs-on: windows-2022
if: startsWith(github.ref, 'refs/tags/v')
if: ${{ startsWith(github.ref, 'refs/tags/v') && !startsWith(github.ref, 'refs/tags/vs2022-v') }}
steps:
- uses: actions/checkout@v3
- working-directory: WinUI3XamlPreview
run: ./scripts/format -check
build:
runs-on: windows-2022
needs: ["no-build-test"]
if: startsWith(github.ref, 'refs/tags/v')
if: ${{ startsWith(github.ref, 'refs/tags/v') && !startsWith(github.ref, 'refs/tags/vs2022-v') }}
env:
VERSION: 0.3.0
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
Expand Down

0 comments on commit 5bd0022

Please sign in to comment.