From b6f94a3dd6e01c060f164f1b66d130de8ce5b74a Mon Sep 17 00:00:00 2001 From: empathicqubit Date: Sun, 16 May 2021 12:07:45 -0400 Subject: [PATCH] Release --- .github/workflows/windows.yml | 24 +++++++++++++++---- .../EmpathicQbt.ConsoleServer.csproj | 1 + 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5c34fc6..d226860 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,9 +1,9 @@ name: Windows on: - push: - branches: - - master + release: + types: + - published jobs: @@ -24,5 +24,21 @@ jobs: - name: Restore NuGet Packages run: nuget restore EmpathicQbt.ConsoleServer.sln - - name: Build and Publish Web App + - name: Build run: msbuild EmpathicQbt.ConsoleServer.sln /p:Configuration=Release + + - uses: bruceadams/get-release@v1.2.2 + id: get_release + name: Get Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload Release Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.get_release.outputs.upload_url }} + asset_path: EmpathicQbt.ConsoleServer/bin/DragonbornSpeaksNaturallyApi.Release.zip + asset_name: DragonbornSpeaksNaturallyApi.zip + asset_content_type: application/zip diff --git a/EmpathicQubit.ConsoleServer/EmpathicQbt.ConsoleServer.csproj b/EmpathicQubit.ConsoleServer/EmpathicQbt.ConsoleServer.csproj index ff0033c..0f66fd0 100644 --- a/EmpathicQubit.ConsoleServer/EmpathicQbt.ConsoleServer.csproj +++ b/EmpathicQubit.ConsoleServer/EmpathicQbt.ConsoleServer.csproj @@ -144,6 +144,7 @@ +