Skip to content

Workflow file for this run

name: Publish Packages to nuget
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.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/netstandard2.0/ArtNetSharp.dll
- name: Publish ArtNetSharp
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: ArtNetSharp/ArtNetSharp.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
PACKAGE_NAME: ArtNetSharp