Skip to content

Commit

Permalink
Update build-library.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianhall authored Aug 28, 2024
1 parent 8274b36 commit 2ef119a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:

sign:
needs: [build]
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/rel') }}
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
runs-on: windows-latest
permissions:
id-token: write
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
--skip-duplicate
release:
if: ${{ startsWith(github.ref, 'refs/heads/rel/') }}
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: [ sign ]
environment: nuget-release-gate
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2ef119a

Please sign in to comment.