Skip to content

Commit 9d09ba1

Browse files
committed
pack only when releasing
1 parent 3a7e125 commit 9d09ba1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
run: dotnet test --no-build --configuration Release
3232

3333
- name: Pack
34+
if: startsWith(github.ref, 'refs/tags/')
3435
run: dotnet pack src --no-build --configuration Release --output ./nupkg
3536

3637
- name: Publish to NuGet

0 commit comments

Comments
 (0)