From f32abd1b586fb690312d65faca33a4ede31b774e Mon Sep 17 00:00:00 2001 From: Li Date: Sun, 17 Jul 2022 16:52:53 +1200 Subject: [PATCH] add some trees --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index abe7500..4b20ac8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,7 @@ jobs: - name: Install utils run: | sudo apt update + sudo apt install -y tree sudo apt install -y dos2unix - name: Restore dependencies @@ -42,6 +43,7 @@ jobs: mkdir -p "HISPd/bin/x64/Linux/net7.0/linux-x64/native/gamedata" cp -r "../../HorseIsleData/gamedata" "HISPd/bin/x64/Linux/net7.0/linux-x64/native" cp "../../HorseIsleData/HI1.MAP" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HI1.MAP" + tree "HISPd/bin/x64/Linux/net7.0/linux-x64" cp "HISPd/bin/x64/Linux/net7.0/linux-x64/publish/libe_sqlite3.so" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/libe_sqlite3.so" rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.pdb" rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.lib" @@ -174,6 +176,7 @@ jobs: run: | dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease dotnet publish -r win-x64 -c Windows --self-contained + tree mkdir "HISPd\bin\x64\Windows\net7.0\win-x64\native\gamedata" copy "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Windows\net7.0\win-x64\native\gamedata" copy "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Windows\net7.0\win-x64\native\HI1.MAP"