mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 05:35:41 +12:00
add submodule download to workflow
This commit is contained in:
parent
481e228227
commit
040aeb2f9e
3 changed files with 6 additions and 0 deletions
3
.github/workflows/linux.yml
vendored
3
.github/workflows/linux.yml
vendored
|
@ -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/"
|
||||
|
|
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
|
@ -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/"
|
||||
|
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue