Skip to content

fixed package version number of projects moved from Aardvark.Base #5

fixed package version number of projects moved from Aardvark.Base

fixed package version number of projects moved from Aardvark.Base #5

Workflow file for this run

name: Publish
on:
push:
branches:
- master
- ci-test
paths:
- '**/RELEASE_NOTES.md'
- .github/workflows/publish.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 src\Aardvark.Data.sln
- name: Test
run: dotnet test src\Aardvark.Data.sln -c Release --no-build --logger:"console;verbosity=quiet"
- name: Pack
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: dotnet aardpack src\Aardvark.Data.sln --per-project --skip-build
- name: Upload Packages
uses: actions/upload-artifact@v3
with:
name: packages
path: bin\pack
- name: GitHub Packages
env:
NUGET_KEY: ${{ secrets.GITHUB_TOKEN }}
shell: cmd
run: dotnet nuget push "bin\pack\**.nupkg" -k %NUGET_KEY% -s "https://nuget.pkg.github.com/aardvark-platform/index.json" --skip-duplicate
- 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