diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7d8176..608f2f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,13 +36,13 @@ jobs: dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease cd HISPd dotnet publish -r linux-x64 -c Linux --self-contained - mkdir "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata" - cp "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata" - cp "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HI1.MAP" - cp "HISPd\bin\x64\Linux\net7.0\linux-x64\e_sqlite3.dll" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\e_sqlite3.dll" - 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" - rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.exp" + 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/gamedata" + cp "../HorseIsleData/HI1.MAP" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HI1.MAP" + cp "HISPd/bin/x64/Linux/net7.0/linux-x64/e_sqlite3.so" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/e_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" + rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.exp" dotnet remove HISPd package Microsoft.DotNet.ILCompiler cd ..