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@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
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: RDMSharp/bin/Release/**/RDMSharp.dll
- name: Publish RDMSharp
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: RDMSharp/RDMSharp.csproj
NUGET_KEY: ${{secrets.NUGET_KEY}}
PACKAGE_NAME: RDMSharp