Skip to content

Commit

Permalink
Updating publish workflow (#35)
Browse files Browse the repository at this point in the history
* Updating publish workflow
  • Loading branch information
fperreaultnv committed Apr 13, 2023
1 parent 5b5b3a9 commit 689f298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v3

- name: Build NuGet Package
run: nuget pack src/NV.Templates.nuspec -Version ${{ github.ref }} -OutputDirectory ./artifacts
run: nuget pack src/NV.Templates.nuspec -Version ${GITHUB_REF#refs/tags/v} -OutputDirectory ./artifacts

- name: Publish NuGet package
run: nuget push ./artifacts/NV.Templates.*.nupkg ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json
run: nuget push ./artifacts/NV.Templates.*.nupkg ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json

0 comments on commit 689f298

Please sign in to comment.