diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 44d5cf7..ea560a0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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