This commit is contained in:
SilicaAndPina 2021-04-05 15:48:12 +12:00
commit 811bc70ea2

View file

@ -32,6 +32,8 @@ jobs:
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/"
mkdir "HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/www"
cp -R ../WebInterface/* "HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/www"
- name: Build linux-arm
continue-on-error: false
@ -39,6 +41,8 @@ jobs:
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/"
mkdir "HorseIsleServer/bin/ARM/Linux/net5.0/linux-arm/publish/www"
cp -R ../WebInterface/* "HorseIsleServer/bin/ARM/Linux/net5.0/linux-arm/publish/www"
- name: Build linux-arm64
continue-on-error: false
@ -46,6 +50,8 @@ jobs:
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/"
mkdir "HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/www/"
cp -R ../WebInterface/* "HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/www/"
- name: upload linux-64
uses: actions/upload-artifact@v2