Skip to content

build-nuget-package

build-nuget-package #3

name: build-nuget-package
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Build control
run: |
mkdir -p local_package
./build.sh
- name: Publish to nuget.org
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/AvaloniaGraphControl.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
NUGET_SOURCE: https://api.nuget.org