add submodule download to workflow

This commit is contained in:
Bluzume 2021-10-24 01:16:16 -04:00
parent 481e228227
commit 040aeb2f9e
3 changed files with 6 additions and 0 deletions

View file

@ -27,6 +27,7 @@ jobs:
- name: Build linux-64
continue-on-error: false
run: |
git submodule update --init --recursive
dotnet publish -p:PublishProfile=Linux64.pubxml
cp ../DataCollection/*.json "HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/"
cp ../DataCollection/*.MAP "HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/"
@ -36,6 +37,7 @@ jobs:
- name: Build linux-arm
continue-on-error: false
run: |
git submodule update --init --recursive
dotnet publish -p:PublishProfile=LinuxARM.pubxml
cp ../DataCollection/*.json "HorseIsleServer/bin/ARM/Linux/net5.0/linux-arm/publish/"
cp ../DataCollection/*.MAP "HorseIsleServer/bin/ARM/Linux/net5.0/linux-arm/publish/"
@ -45,6 +47,7 @@ jobs:
- name: Build linux-arm64
continue-on-error: false
run: |
git submodule update --init --recursive
dotnet publish -p:PublishProfile=LinuxARM64.pubxml
cp ../DataCollection/*.json "HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/"
cp ../DataCollection/*.MAP "HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/"

View file

@ -27,6 +27,7 @@ jobs:
- name: Build mac-64
continue-on-error: false
run: |
git submodule update --init --recursive
dotnet publish -p:PublishProfile=MacOS.pubxml
cp ../DataCollection/*.json "HorseIsleServer/bin/x64/MacOS/net5.0/osx-x64/publish/"
cp ../DataCollection/*.MAP "HorseIsleServer/bin/x64/MacOS/net5.0/osx-x64/publish/"

View file

@ -27,6 +27,7 @@ jobs:
- name: Build win-x64
continue-on-error: false
run: |
git submodule update --init --recursive
dotnet publish -p:PublishProfile=Win64.pubxml
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"
@ -34,6 +35,7 @@ jobs:
- name: Build win-x86
continue-on-error: false
run: |
git submodule update --init --recursive
dotnet publish -p:PublishProfile=Win32.pubxml
copy ..\DataCollection\gamedata.json "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\gamedata.json"
copy ..\DataCollection\HI1.MAP "HorseIsleServer\bin\x86\Windows\net5.0\win-x86\publish\HI1.MAP"