Update workflow

This commit is contained in:
SilicaAndPina 2022-04-18 10:12:25 +12:00
parent ea544dcbe1
commit ea5629aeb0

View file

@ -87,7 +87,7 @@ jobs:
# continue-on-error: false
# run: |
# dotnet publish -p:PublishProfile=AndroidARM64.pubxm
- name: Create Debian Package
- name: build .deb
continue-on-error: false
shell: wsl-bash -u root {0}
run: |
@ -95,12 +95,14 @@ jobs:
mkdir Debian64/etc
mkdir Debian64/usr
mkdir Debian64/etc/hisp
mkdir Debian64/etc/hisp/gamedata
mkdir Debian64/etc/systemd
mkdir Debian64/etc/systemd/system
mkdir Debian64/usr/bin
mkdir Debian64/usr/lib
mkdir Debian64/DEBIAN
cp -r HISPd/Resources/DEBIAN/* Debian64/DEBIAN
chmod -x Debian64/DEBIAN/control
chmod +x Debian64/DEBIAN/postinst
chmod +x Debian64/DEBIAN/postrm
cp HISPd/bin/x64/Linux/net7.0/linux-x64/publish/HISPd Debian64/usr/bin/HISPd
@ -109,7 +111,7 @@ jobs:
cp HISPd/bin/x64/Linux/net7.0/linux-x64/publish/HI1.MAP Debian64/etc/hisp/HI1.MAP
cp LibHISP/Resources/server.properties Debian64/etc/hisp/server.properties
cp LibHISP/Resources/default_cross_domain.xml Debian64/etc/hisp/CrossDomainPolicy.xml
cp HISPd/bin/x64/Linux/net7.0/linux-x64/publish/gamedata.json Debian64/etc/hisp/gamedata.json
cp -r HISPd/bin/x64/Linux/net7.0/linux-x64/publish/gamedata Debian64/etc/hisp/gamedata
dpkg-deb --build Debian64