updated paket #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- RELEASE_NOTES.md | |
- .github/workflows/pack.yml | |
jobs: | |
pack: | |
name: Package | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
global-json-file: global.json | |
- name: Restore Tools | |
run: dotnet tool restore | |
- name: Restore | |
run: dotnet paket restore | |
- name: Build | |
shell: cmd | |
run: dotnet build -c Release Aardvark.Build.sln | |
- name: Pack | |
shell: cmd | |
run: pack.cmd | |
- name: Upload Package | |
uses: actions/upload-artifact@v3 | |
with: | |
name: packages | |
path: bin\pack | |
- name: NuGet | |
env: | |
NUGET_KEY: ${{ secrets.NUGET_KEY }} | |
shell: cmd | |
run: dotnet nuget push "bin\pack\*.nupkg" -k %NUGET_KEY% -s "https://api.nuget.org/v3/index.json" --skip-duplicate |