Skip to content

Merge pull request #10 from Arlodotexe/PeerRoomExtensions #98

Merge pull request #10 from Arlodotexe/PeerRoomExtensions

Merge pull request #10 from Arlodotexe/PeerRoomExtensions #98

Workflow file for this run

name: Publish to Nuget
on:
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install .NET SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -p:Configuration=Release
- name: Publish to NuGet
run: dotnet nuget push "/home/runner/work/OwlCore.Kubo/OwlCore.Kubo/src/bin/Release/OwlCore.Kubo.*.*.*.nupkg" --skip-duplicate --api-key ${{secrets.NUGET_KEY}} --source https://api.nuget.org/v3/index.json