Update linux.yml

This commit is contained in:
Bluzume 2021-04-05 15:28:54 +12:00 committed by GitHub
parent b25ba891de
commit f4ebe6ece8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ 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
@ -40,6 +41,7 @@ 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
@ -48,7 +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/"
cp -R ../WebInterface/* "HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/www"
mkdir "HorseIsleServer/bin/x64/Linux/net5.0/linux-x64/publish/www"
cp -R ../WebInterface/* "HorseIsleServer/bin/ARM64/Linux/net5.0/linux-arm64/publish/www/"
- name: upload linux-64
uses: actions/upload-artifact@v2