Do submodules better

This commit is contained in:
Bluzume 2021-10-24 01:20:23 -04:00
parent 040aeb2f9e
commit 7a31c468e3
3 changed files with 9 additions and 6 deletions

View file

@ -14,6 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Git Submodule update
run: git submodule update --init --recursive
- name: Setup .NET
uses: actions/setup-dotnet@v1
@ -27,7 +30,6 @@ 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/"
@ -37,7 +39,6 @@ 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/"
@ -47,7 +48,6 @@ 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

@ -14,6 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Git Submodule update
run: git submodule update --init --recursive
- name: Setup .NET
uses: actions/setup-dotnet@v1
@ -27,7 +30,6 @@ 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

@ -14,6 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Git Submodule update
run: git submodule update --init --recursive
- name: Setup .NET
uses: actions/setup-dotnet@v1
@ -27,7 +30,6 @@ 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"
@ -35,7 +37,6 @@ 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"