From ea5629aeb04f7fc356c64ca378ac9b8185507de6 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Mon, 18 Apr 2022 10:12:25 +1200 Subject: [PATCH] Update workflow --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 091f703..05f22a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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