2 Commits

Author SHA1 Message Date
singatias fba604ad65 Update and rename nuget-publish.yml to publish-nugets.yml 2023-11-04 16:58:06 -04:00
singatias 415bcca48b Update nuget-publish.yml 2023-11-04 16:54:42 -04:00
@@ -31,10 +31,8 @@ jobs:
run: dotnet restore run: dotnet restore
- name: Build and Pack NuGet Package - 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 - name: Publish to NuGet.org
run: | run: |
dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} 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 }}