Skip to content

Merge branch 'Dev' into Release #11

Merge branch 'Dev' into Release

Merge branch 'Dev' into Release #11

Workflow file for this run

name: Release
on:
push:
branches:
- Release
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.0.x']
steps:
- uses: actions/checkout@v2
- name: Setup .NET Code SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v1.7.2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test --no-restore
- name: Build pre-release packages
run: dotnet pack -c Release --no-restore -o ./pack
- name: Publish packages to NuGet
run: dotnet nuget push ./pack/*[^.symbols].nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_ORG_PUSH_KEY }}