Skip to content

v0.0.13

v0.0.13 #14

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: Create Nuget Package
run: dotnet pack --configuration Release
- name: Upload to Github Feed
run: dotnet nuget push RDMSharp/bin/Release/RDMSharp.*.nupkg --api-key ${{secrets.GITHUB_TOKEN}} -s https://nuget.pkg.github.com/DMXControl/index.json
- name: Upload to Nuget.org
run: dotnet nuget push RDMSharp/bin/Release/RDMSharp.*.nupkg --api-key ${{secrets.NUGET_KEY}} -s https://api.nuget.org/v3/index.json