mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
CI build: Restore publish to nuget
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -35,6 +35,10 @@ jobs:
|
|||||||
- name: Pack
|
- name: Pack
|
||||||
run: dotnet pack Vortice.Win32.sln --configuration Release --output artifacts
|
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
|
- name: Upload Package Artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user