Skip to content

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ElanHasson committed Apr 24, 2024
1 parent 92a6f3a commit 19ed3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: dotnet pack
if: ${{ github.event_name != 'release' }}
run: dotnet pack ${{ env.TargetProject }} --configuration Release -p:PackageVersion="${{ github.event_name != 'release' && github.event.release.tag_name || github.ref_name }}" --output ${{ env.NuGetDirectory }}
run: dotnet pack ${{ env.TargetProject }} --configuration Release --output ${{ env.NuGetDirectory }}

- name: dotnet pack (release)
if: ${{ github.event_name == 'release' && github.ref_type == 'tag' || github.event.release.tag_name }}
Expand Down

0 comments on commit 19ed3f9

Please sign in to comment.