Skip to content

Commit

Permalink
update full semver
Browse files Browse the repository at this point in the history
  • Loading branch information
bit365 committed Nov 24, 2024
1 parent 36808d2 commit 8e94ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: gittools/actions/gitversion/[email protected]

- name: Output Version
run: echo "current version is ${{ steps.version_step.outputs.majorMinorPatch }}"
run: echo "current version is ${{ steps.version_step.outputs.fullSemVer }}"

- name: Restore dependencies
run: dotnet restore
Expand All @@ -62,5 +62,5 @@ jobs:
if: github.ref == 'refs/heads/main'
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push ./nupkg/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json
run: dotnet nuget push ./nupkg/*.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json --skip-duplicate
working-directory: ${{ env.PROJECT_DIR }}

0 comments on commit 8e94ec1

Please sign in to comment.