Update workflow >_>

This commit is contained in:
SilicaAndPina 2022-04-17 18:41:20 +12:00
parent d0ee86e08d
commit 5e75827f84

View file

@ -86,8 +86,30 @@ jobs:
# - name: Build android-arm64
# continue-on-error: false
# run: |
# dotnet publish -p:PublishProfile=AndroidARM64.pubxml
# dotnet publish -p:PublishProfile=AndroidARM64.pubxm
- name: Create Debian Package
continue-on-error: false
- name: Upload win-x64
shell: wsl-bash -u root
run: |
mkdir Debian64
mkdir Debian64/etc/hisp
mkdir Debian64/systemd/system
mkdir Debian64/usr/bin
mkdir Debian64/usr/lib
mkdir Debian64/DEBIAN
cp -r HorseIsleServer/HISPd/Resources/DEBIAN/* Debian64/DEBIAN
chmod +x Debian64/DEBIAN/postinst
chmod +x Debian64/DEBIAN/postrm
cp HorseIsleServer/HISPd/bin/x64/Linux/net7.0/linux-x64/publish/HISPd Debian64/usr/bin/HISPd
chmod +x Debian64/usr/bin/HISPd
cp HorseIsleServer/HISPd/bin/x64/Linux/net7.0/linux-x64/publish/libe_sqlite3.so Debian64/usr/lib/libe_sqlite3.so
cp HorseIsleServer/HISPd/bin/x64/Linux/net7.0/linux-x64/publish/HI1.MAP Debian64/etc/hisp/HI1.MAP
cp HorseIsleServer/HISPd/bin/x64/Linux/net7.0/linux-x64/publish/server.properties Debian64/etc/hisp/server.properties
cp HorseIsleServer/HISPd/bin/x64/Linux/net7.0/linux-x64/publish/CrossDomainPolicy.xml Debian64/etc/hisp/CrossDomainPolicy.xml
cp HorseIsleServer/HISPd/bin/x64/Linux/net7.0/linux-x64/publish/gamedata.json Debian64/etc/hisp/gamedata.json
dpkg-deb --build Debian64
- name: Upload win-x64
uses: actions/upload-artifact@v2