|
|
|
|
@ -16,17 +16,18 @@ jobs:
|
|
|
|
|
include:
|
|
|
|
|
- os: ubuntu-latest
|
|
|
|
|
COMMAND: AM2RModPacker -p:PublishSingleFile=true -p:DebugType=embedded -r ubuntu.18.04-x64 --no-self-contained -o builds/ubuntu-latest
|
|
|
|
|
ARTIFACT: AM2RModPacker/builds/ubuntu-latest
|
|
|
|
|
ARTIFACT: builds/ubuntu-latest
|
|
|
|
|
POSTBUILD: echo "No post build to do!"
|
|
|
|
|
- os: macOS-latest
|
|
|
|
|
COMMAND: AM2RModPacker -r osx-x64 --no-self-contained -o builds/macOS-latest
|
|
|
|
|
ARTIFACT: AM2RModPacker/builds/macOS-latest
|
|
|
|
|
ARTIFACT: builds/macOS-latest
|
|
|
|
|
POSTBUILD: echo "No post build to do!"
|
|
|
|
|
- os: windows-latest
|
|
|
|
|
COMMAND: AM2RModPacker -r win-x86
|
|
|
|
|
ARTIFACT: AM2RModPacker\bin\Release\net6\win-x86\
|
|
|
|
|
COMMAND: AM2RModPacker -r win-x86 --no-self-contained -o builds/windows-latest
|
|
|
|
|
ARTIFACT: builds/windows-latest
|
|
|
|
|
# This is very ugly, *please* tell me a better way to do this
|
|
|
|
|
#POSTBUILD: mv AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.Wpf.exe AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.exe && mv AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.Wpf.exe.config AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\AM2RLauncher.exe.config && rmdir AM2RLauncher\AM2RLauncher.Wpf\bin\Release\net48\win-x86\publish -Recurse
|
|
|
|
|
POSTBUILD: echo "No post build to do!"
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|