Skip to content

feat: update to .net 9 #10

feat: update to .net 9

feat: update to .net 9 #10

Workflow file for this run

name: Publish
on:
push:
tags:
- '*'
jobs:
ubuntu-latest:
name: Publish nuget
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Pack
run: dotnet pack --configuration Release --no-build --output output /property:Version="${{ github.ref_name }}"
- name: Push
run: dotnet nuget push output/*.nupkg --source https://api.nuget.org/v3/index.json --api-key $NUGET_AUTH_TOKEN --skip-duplicate
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}