oh shit this is powershell not cmd.

This commit is contained in:
SilicaAndPina 2021-04-05 13:05:18 +12:00
parent 8b41e540b1
commit f86ed4dc40

View file

@ -30,18 +30,16 @@ jobs:
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Win64.pubxml
copy ..\DataCollection\gamedata.json "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\gamedata.json" /B /Y
copy ..\DataCollection\HI1.MAP "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\HI1.MAP" /B /Y
mkdir "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\www"
xcopy /E ..\WebInterface "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\www"
copy ..\DataCollection\gamedata.json "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\gamedata.json"
copy ..\DataCollection\HI1.MAP "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\HI1.MAP"
copy ..\WebInterface\* "HorseIsleServer\bin\x64\Windows\net5.0\win-x64\publish\www" -Recurse
- name: Build win-x86
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Win32.pubxml
copy ..\DataCollection\gamedata.json "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\gamedata.json" /B /Y
copy ..\DataCollection\HI1.MAP "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\HI1.MAP" /B /Y
mkdir "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\www"
xcopy /E ..\WebInterface "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\www"
copy ..\WebInterface\* "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\www" -Recurse
- name: Upload win-x64
uses: actions/upload-artifact@v2
with: