Skip to content

Commit

Permalink
CI Work
Browse files Browse the repository at this point in the history
  • Loading branch information
TLeonardUK committed Aug 21, 2021
1 parent 2536d34 commit cfd65f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

Expand All @@ -48,6 +48,9 @@ jobs:
working-directory: ${{github.workspace}}/Tools/vcpkg
run: vcpkg integrate install

- name: Package DotNet
run: dotnet publish ./Source/Loader/Loader.csproj -r win-x64 -c Release --output ${{github.workspace}}/Bin/Loader/Package/ /p:PublishSingleFile=true /p:PublishTrimmed=true /p:IncludeNativeLibrariesForSelfExtract=true

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
Expand Down
1 change: 1 addition & 0 deletions Source/Loader/Loader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
3 changes: 2 additions & 1 deletion Tools/Package.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ mkdir Publish
mkdir Publish\Loader
mkdir Publish\Server
copy Resources\ReadMe.txt Publish\ReadMe.txt
xcopy /s Bin\Server Publish\Server
xcopy /s Bin\Server Publish\Server
xcopy /s Bin\Loader\Package Publish\Loader

0 comments on commit cfd65f2

Please sign in to comment.