Skip to content

v0.0.22

v0.0.22 #25

Workflow file for this run

name: Publish Packages to nuget
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
path: ArtNetSharp/bin/Release/**/ArtNetSharp.dll
- name: Create Nuget Package
run: dotnet pack --configuration Release
- name: Upload to Nuget.org
run: dotnet nuget push ArtNetSharp/bin/Release/ArtNetSharp.*.nupkg --api-key ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json