Skip to content

Commit

Permalink
release updates
Browse files Browse the repository at this point in the history
  • Loading branch information
durmisi committed Mar 15, 2024
1 parent cb27295 commit 25737c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set Version Variable
if: ${{ github.ref_type == 'tag' }}
if: github.ref_type == 'tag'
env:
TAG: ${{ github.ref_name }}
run: echo "VERSION=${TAG#v}" >> $GITHUB_ENV
Expand Down Expand Up @@ -56,6 +56,7 @@ jobs:
run: dotnet pack --output nupkgs --no-restore --no-build -c Release /p:PackageVersion=$VERSION

- name: Push
if: github.ref_type == 'tag'
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json


0 comments on commit 25737c5

Please sign in to comment.