Update windows.yml

This commit is contained in:
Bluzume 2021-01-29 01:42:31 +13:00 committed by GitHub
parent 6d931cf81e
commit ed737adea6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,15 +30,15 @@ jobs:
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Win64.pubxml
copy ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/"
copy ../DataCollection/HI1.MAP "HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/"
copy ../DataCollection/gamedata.json "Horse Isle Server/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"
- name: Build win-x86
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Win32.pubxml
copy ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/"
copy ../DataCollection/HI1.MAP "HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/"
copy ../DataCollection/gamedata.json "Horse Isle Server/HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/amedata.json"
copy ../DataCollection/HI1.MAP "HorseIsleServer/bin/x86/Windows/net5.0/win-x86/publish/HI1.MAP"
- name: upload win-x64
uses: actions/upload-artifact@v2