Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |