From 8b3dafbbad3074624006321e558c842015a7669e Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Mon, 18 Apr 2022 12:59:57 +1200 Subject: [PATCH] CAN THE WORKFLOW JUST WORK --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cedb046..3f9f2a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,7 @@ jobs: continue-on-error: false shell: wsl-bash -u root {0} run: | + apt update apt install -y dos2unix mkdir /mnt/fucking-windows mount -t tmpfs -o size=800M tmpfs /mnt/fucking-windows @@ -54,7 +55,6 @@ jobs: mkdir /mnt/fucking-windows/Debian64/usr/bin mkdir /mnt/fucking-windows/Debian64/usr/lib mkdir /mnt/fucking-windows/Debian64/DEBIAN - chmod 755 -R /mnt/fucking-windows/Debian64 cp LibHISP/Resources/server.properties /mnt/fucking-windows/Debian64/etc/hisp/server.properties cp LibHISP/Resources/default_cross_domain.xml /mnt/fucking-windows/Debian64/etc/hisp/CrossDomainPolicy.xml cp -r HISPd/Resources/DEBIAN/* /mnt/fucking-windows/Debian64/DEBIAN @@ -62,13 +62,14 @@ jobs: cp HISPd/bin/x64/Linux/net7.0/linux-x64/publish/libe_sqlite3.so /mnt/fucking-windows/Debian64/usr/lib/libe_sqlite3.so cp HISPd/bin/x64/Linux/net7.0/linux-x64/publish/HI1.MAP /mnt/fucking-windows/Debian64/etc/hisp/HI1.MAP cp HISPd/bin/x64/Linux/net7.0/linux-x64/publish/HISPd /mnt/fucking-windows/Debian64/usr/bin/HISPd - chmod +x /mnt/fucking-windows/Debian64/usr/bin/HISPd dos2unix /mnt/fucking-windows/Debian64/DEBIAN/conffiles dos2unix /mnt/fucking-windows/Debian64/DEBIAN/control dos2unix /mnt/fucking-windows/Debian64/DEBIAN/postinst dos2unix /mnt/fucking-windows/Debian64/DEBIAN/postrm - dpkg-deb --build /mnt/fucking-windows/Debian64 - + chmod 644 -R /mnt/fucking-windows/Debian64 + chmod +x /mnt/fucking-windows/Debian64/usr/bin/HISPd + chmod 755 -R /mnt/fucking-windows/Debian64/DEBIAN + dpkg-deb --build /mnt/fucking-windows/Debian64 - name: Build win-x64