diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml new file mode 100644 index 0000000..bfb66d2 --- /dev/null +++ b/.github/workflows/nuget.yml @@ -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 diff --git a/pkg/nuget/version.in b/pkg/nuget/version.in new file mode 100644 index 0000000..7e4fd51 --- /dev/null +++ b/pkg/nuget/version.in @@ -0,0 +1 @@ +1.3.4-alpha.0