Release
This commit is contained in:
parent
c2fa246a53
commit
b6f94a3dd6
2 changed files with 21 additions and 4 deletions
24
.github/workflows/windows.yml
vendored
24
.github/workflows/windows.yml
vendored
|
@ -1,9 +1,9 @@
|
||||||
name: Windows
|
name: Windows
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
branches:
|
types:
|
||||||
- master
|
- published
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
@ -24,5 +24,21 @@ jobs:
|
||||||
- name: Restore NuGet Packages
|
- name: Restore NuGet Packages
|
||||||
run: nuget restore EmpathicQbt.ConsoleServer.sln
|
run: nuget restore EmpathicQbt.ConsoleServer.sln
|
||||||
|
|
||||||
- name: Build and Publish Web App
|
- name: Build
|
||||||
run: msbuild EmpathicQbt.ConsoleServer.sln /p:Configuration=Release
|
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
|
||||||
|
|
|
@ -144,6 +144,7 @@
|
||||||
<Copy SkipUnchangedFiles="true" SourceFiles="$(ProjectDir)\$(OutputPath)\..\DragonbornSpeaksNaturally.Original.exe" DestinationFolder="$(DragonBornSEOutputPath)\.." />
|
<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="$(ProjectDir)\$(OutputPath)\..\DragonbornSpeaksNaturally.SAMPLE.ini" DestinationFolder="$(DragonBornSEOutputPath)\.." />
|
||||||
<Copy SkipUnchangedFiles="true" SourceFiles="@(FoMod)" DestinationFolder="$(DragonBornPluginRoot)\fomod" />
|
<Copy SkipUnchangedFiles="true" SourceFiles="@(FoMod)" DestinationFolder="$(DragonBornPluginRoot)\fomod" />
|
||||||
|
<ZipDirectory SourceDirectory="$(DragonBornPluginRoot)" DestinationFile="$(DragonBornPluginRoot)\..\DragonbornSpeaksNaturallyApi.$(Configuration).zip" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
Loading…
Add table
Reference in a new issue