Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fba604ad65 | |||
| 415bcca48b |
@@ -31,10 +31,8 @@ jobs:
|
||||
run: dotnet restore
|
||||
|
||||
- name: Build and Pack NuGet Package
|
||||
run: dotnet pack -c Release -o ./artifacts
|
||||
run: dotnet pack -c Release -o ./artifacts -p:Version=${{ env.RELEASE_VERSION }}
|
||||
|
||||
- name: Publish to NuGet.org
|
||||
run: |
|
||||
dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
|
||||
env:
|
||||
NUGET_VERSION: ${{ steps.extract_version.outputs.release_version }}
|
||||
Reference in New Issue
Block a user