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 @@
+