This commit is contained in:
Empathic Qubit 2021-05-16 12:07:45 -04:00
parent c2fa246a53
commit b6f94a3dd6
2 changed files with 21 additions and 4 deletions

View file

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

View file

@ -144,6 +144,7 @@
<Copy SkipUnchangedFiles="true" SourceFiles="$(ProjectDir)\$(OutputPath)\..\DragonbornSpeaksNaturally.Original.exe" DestinationFolder="$(DragonBornSEOutputPath)\.." />
<Copy SkipUnchangedFiles="true" SourceFiles="$(ProjectDir)\$(OutputPath)\..\DragonbornSpeaksNaturally.SAMPLE.ini" DestinationFolder="$(DragonBornSEOutputPath)\.." />
<Copy SkipUnchangedFiles="true" SourceFiles="@(FoMod)" DestinationFolder="$(DragonBornPluginRoot)\fomod" />
<ZipDirectory SourceDirectory="$(DragonBornPluginRoot)" DestinationFile="$(DragonBornPluginRoot)\..\DragonbornSpeaksNaturallyApi.$(Configuration).zip" />
</Target>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>