Skip to content

Commit 2ef119a

Browse files
authored
Update build-library.yml
1 parent 8274b36 commit 2ef119a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-library.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151

152152
sign:
153153
needs: [build]
154-
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/rel') }}
154+
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/') }}
155155
runs-on: windows-latest
156156
permissions:
157157
id-token: write
@@ -218,7 +218,7 @@ jobs:
218218
--skip-duplicate
219219
220220
release:
221-
if: ${{ startsWith(github.ref, 'refs/heads/rel/') }}
221+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
222222
needs: [ sign ]
223223
environment: nuget-release-gate
224224
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)