@@ -25,40 +25,32 @@ jobs:
2525 run : |
2626 $env:revision = git describe --tags --always
2727 echo "GIT_REVISION=$env:revision" >> $env:GITHUB_ENV
28- shell : pwsh
2928 - name : Restore Packages
3029 run : |
3130 nuget restore
32- shell : cmd
3331 - name : Download latest Spore-ModAPI
3432 run : |
3533 Invoke-WebRequest "${env:modApiUrl}" -OutFile SporeModAPIdlls.zip
3634 Invoke-WebRequest "${env:legacyModApiUrl}" -OutFile SporeModAPIlegacydlls.zip
37- shell : pwsh
3835 - name : Build modapi-launcher-kit
3936 run : |
40- msbuild /p:Configuration=Release
41- shell : cmd
37+ msbuild /p:Configuration=Release /m
4238 - name : Package ModApiUpdate.zip
4339 run : |
44- "C:\Program Files\7-Zip\7z.exe" e -y SporeModAPIdlls.zip -oOutput\coreLibs
45- "C:\Program Files\7-Zip\7z.exe" e -y SporeModAPIlegacydlls.zip -oOutput\
46-
47- copy LegacyLibs\SporeModAPI-disk.dll Output\SporeModAPI-disk.dll
48- copy LegacyLibs\SporeModAPI-steam_patched.dll Output\SporeModAPI-steam_patched.dll
40+ & "C:\Program Files\7-Zip\7z.exe" e -y SporeModAPIdlls.zip -oOutput\coreLibs
41+ & "C:\Program Files\7-Zip\7z.exe" e -y SporeModAPIlegacydlls.zip -oOutput\
4942
5043 cd Output
51- "C:\Program Files\7-Zip\7z" a -tzip "..\ModApiUpdate.zip" *
52- shell : cmd
44+ & "C:\Program Files\7-Zip\7z" a -tzip "..\ModApiUpdate.zip" *
5345 - name : Build ModApi.InterimSetup
5446 run : |
55- copy /Y ModApiUpdate.zip ModApi.InterimSetup\ModApi.InterimSetup\Resources\ModApiUpdate.zip
47+ Copy -Force ModApiUpdate.zip ModApi.InterimSetup\ModApi.InterimSetup\Resources\ModApiUpdate.zip
5648
5749 msbuild ModApi.InterimSetup /p:Configuration=Release
5850 shell : cmd
5951 - name : Build ModApi.Updater
6052 run : |
61- copy /Y ModApiUpdate.zip Updater\ModApi.Updater\Resources\ModApiUpdate.zip
53+ Copy -Force ModApiUpdate.zip Updater\ModApi.Updater\Resources\ModApiUpdate.zip
6254
6355 msbuild Updater /p:Configuration=Release
6456 shell : cmd
0 commit comments