Add NuGet package workflow

This commit is contained in:
Joseph Henry
2021-03-19 23:11:45 -07:00
parent ea71b85627
commit 42f188cdd6
2 changed files with 24 additions and 0 deletions

23
.github/workflows/nuget.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Build NuGet Package
on: [workflow_dispatch]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init
- name: Build Package
run: . .\build.ps1; BuildNuGetPackage -BuildType "Release" -Arch "x64" -Version "$(cat .\pkg\nuget\version.in)"
- uses: actions/upload-artifact@v2
with:
path: dist

1
pkg/nuget/version.in Normal file
View File

@@ -0,0 +1 @@
1.3.4-alpha.0