v3.2.1 #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/[email protected] | |
name: Checkout Code | |
- name: Setup MSBuild Path | |
uses: microsoft/[email protected] | |
- name: Restore NuGet Packages | |
run: msbuild "GTA Chaos.sln" -t:restore -p:RestorePackagesConfig=true | |
- name: Build Release | |
run: msbuild "GTA Chaos.sln" /p:Configuration=Release | |
- name: Build Debug | |
run: msbuild "GTA Chaos.sln" /p:Configuration=Debug | |
- name: Copy executables | |
run: | | |
mkdir output | |
cp GTAChaos\bin\Release\GTAChaos.exe output/TrilogyChaosMod.exe | |
cp GTAChaos\bin\Debug\GTAChaos.exe output/TrilogyChaosMod.Debug.exe | |
- name: Upload Release | |
uses: actions/[email protected] | |
with: | |
name: "Trilogy Chaos Mod" | |
path: output/TrilogyChaosMod.exe | |
- name: Upload Debug | |
uses: actions/[email protected] | |
with: | |
name: "Trilogy Chaos Mod (Debug)" | |
path: output/TrilogyChaosMod.Debug.exe |