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"