Skip to content

v1.0.19

v1.0.19 #20

Workflow file for this run

name: Publish
on:
release:
types: [released]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['7.0.x']
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Build
run: dotnet build ./src/Nox.Cli --warnaserror --configuration Release
- name: Pack
run: dotnet pack --no-build ./src/Nox.Cli --configuration Release -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/Nox.Cli.*.nupkg --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json