CI build: Restore publish to nuget

This commit is contained in:
Amer Koleci
2022-11-17 14:45:33 +01:00
parent dec4ed8056
commit 488b23ea9f

View File

@@ -35,6 +35,10 @@ jobs:
- name: Pack
run: dotnet pack Vortice.Win32.sln --configuration Release --output artifacts
- name: Publish to NuGet
if: github.event_name == 'push'
run: dotnet nuget push build/packages/**/*.nupkg -k ${{secrets.NUGET_TOKEN}} --skip-duplicate --source https://api.nuget.org/v3/index.json
- name: Upload Package Artifacts
uses: actions/upload-artifact@v3
with: