Skip to content

.net 8 update

.net 8 update #26

Workflow file for this run

name: Push NuGet packages
on:
push:
branches:
- master # Default release branch
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Build with dotnet
run: dotnet build SiaSkynet/SiaSkynet.csproj --configuration Release
- name: Package NuGet
run: dotnet pack SiaSkynet/SiaSkynet.csproj -c Release -o out -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
- name: Publish packages to nuget.org
run: dotnet nuget push ./out/**/*.* -s https://api.nuget.org/v3/index.json -k ${NUGET_TOKEN} --skip-duplicate
env:
NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }}