Update workflows

This commit is contained in:
Silica 2022-03-08 11:28:32 -05:00
parent 9c624556e3
commit 2ce3488aa5
3 changed files with 13 additions and 25 deletions

View file

@ -32,43 +32,31 @@ jobs:
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Linux64.pubxml
cp ../HorseIsleData/*.json "HorseIsleServer/bin/x64/Linux/net6.0/linux-x64/publish/"
cp ../HorseIsleData/*.MAP "HorseIsleServer/bin/x64/Linux/net6.0/linux-x64/publish/"
mkdir "HorseIsleServer/bin/x64/Linux/net6.0/linux-x64/publish/www"
cp -R ../HorseIsleWeb/* "HorseIsleServer/bin/x64/Linux/net6.0/linux-x64/publish/www"
- name: Build linux-arm
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=LinuxARM.pubxml
cp ../HorseIsleData/*.json "HorseIsleServer/bin/ARM/Linux/net6.0/linux-arm/publish/"
cp ../HorseIsleData/*.MAP "HorseIsleServer/bin/ARM/Linux/net6.0/linux-arm/publish/"
mkdir "HorseIsleServer/bin/ARM/Linux/net6.0/linux-arm/publish/www"
cp -R ../HorseIsleWeb/* "HorseIsleServer/bin/ARM/Linux/net6.0/linux-arm/publish/www"
- name: Build linux-arm64
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=LinuxARM64.pubxml
cp ../HorseIsleData/*.json "HorseIsleServer/bin/ARM64/Linux/net6.0/linux-arm64/publish/"
cp ../HorseIsleData/*.MAP "HorseIsleServer/bin/ARM64/Linux/net6.0/linux-arm64/publish/"
mkdir "HorseIsleServer/bin/ARM64/Linux/net6.0/linux-arm64/publish/www/"
cp -R ../HorseIsleWeb/* "HorseIsleServer/bin/ARM64/Linux/net6.0/linux-arm64/publish/www/"
- name: upload linux-64
uses: actions/upload-artifact@v2
with:
name: linux-x64
path: HorseIsleServer/HorseIsleServer/bin/x64/Linux/net6.0/linux-x64/publish/
path: HorseIsleServer/HISP/bin/x64/Linux/net6.0/linux-x64/publish/
- name: upload linux-arm
uses: actions/upload-artifact@v2
with:
name: linux-arm
path: HorseIsleServer/HorseIsleServer/bin/ARM/Linux/net6.0/linux-arm/publish/
path: HorseIsleServer/HISP/bin/ARM/Linux/net6.0/linux-arm/publish/
- name: upload linux-arm64
uses: actions/upload-artifact@v2
with:
name: linux-arm64
path: HorseIsleServer/HorseIsleServer/bin/ARM64/Linux/net6.0/linux-arm64/publish/
path: HorseIsleServer/HISP/bin/ARM64/Linux/net6.0/linux-arm64/publish/

View file

@ -32,28 +32,20 @@ jobs:
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Osx64.pubxml
cp ../HorseIsleData/*.json "HorseIsleServer/bin/x64/MacOS/net6.0/osx-x64/publish/"
cp ../HorseIsleData/*.MAP "HorseIsleServer/bin/x64/MacOS/net6.0/osx-x64/publish/"
mkdir "HorseIsleServer/bin/x64/MacOS/net6.0/osx-x64/publish/www"
cp -R ../HorseIsleWeb/* "HorseIsleServer/bin/x64/MacOS/net6.0/osx-x64/publish/www"
- name: Build mac-arm64
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=OsxARM64.pubxml
cp ../HorseIsleData/*.json "HorseIsleServer/bin/arm64/MacOS/net6.0/osx-arm64/publish/"
cp ../HorseIsleData/*.MAP "HorseIsleServer/bin/arm64/MacOS/net6.0/osx-arm64/publish/"
mkdir "HorseIsleServer/bin/arm64/MacOS/net6.0/osx-arm64/publish/www"
cp -R ../HorseIsleWeb/* "HorseIsleServer/bin/arm64/MacOS/net6.0/osx-arm64/publish/www"
- name: upload mac-x64
uses: actions/upload-artifact@v2
with:
name: mac-x64
path: HorseIsleServer/HorseIsleServer/bin/x64/MacOS/net6.0/osx-x64/publish/
path: HorseIsleServer/HISP/bin/x64/MacOS/net6.0/osx-x64/publish/
- name: upload mac-arm64
uses: actions/upload-artifact@v2
with:
name: mac-arm64
path: HorseIsleServer/HorseIsleServer/bin/arm64/MacOS/net6.0/osx-arm64/publish/
path: HorseIsleServer/HISP/bin/arm64/MacOS/net6.0/osx-arm64/publish/

View file

@ -32,18 +32,22 @@ jobs:
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Win64.pubxml
- name: Build win-x86
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=Win32.pubxml
- name: Build win-arm
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=WinARM.pubxml
- name: Build win-arm64
continue-on-error: false
run: |
dotnet publish -p:PublishProfile=WinARM64.pubxml
- name: Upload win-x64
uses: actions/upload-artifact@v2
with:
@ -69,6 +73,10 @@ jobs:
path: HorseIsleServer\HISP\bin\arm64\Windows\net6.0\windows-arm64\publish\
- name: Upload win-x86-noobs
uses: actions/upload-artifact@v2
with: