Skip to content

Commit

Permalink
tweak workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
simontreanor committed Nov 19, 2024
1 parent 0bff726 commit b88000a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
git add ${{ env.PROJECT_FILE }}
git commit -m "Update version to $VERSION"
git commit -m "Update version to ${{ github.event.inputs.version }}"
git push origin HEAD:${{ github.ref }}
- name: Build
Expand All @@ -40,8 +40,8 @@ jobs:
- name: Pack
run: dotnet pack -c Release --no-build --output .

# - name: Publish NuGet package
# run: dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json
- name: Publish NuGet package
run: dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json

- name: Create Git tag
run: |
Expand Down

0 comments on commit b88000a

Please sign in to comment.