Skip to content

Commit

Permalink
ci: fix package-artifacts failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Oct 23, 2024
1 parent 5391ad7 commit eeae8ef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
- name: Package SporeModLoader (msvc)
run: |
New-Item -ItemType Directory -Force -Path bin\SporebinEP1
New-Item -ItemType Directory -Force -Path bin\SporeModLoader\CoreLibs\
New-Item -ItemType Directory -Force -Path bin\SporeModLoader\CoreLibs
New-Item -ItemType Directory -Force -Path bin\SporeModLoader\ModLibs
New-Item -ItemType Directory -Force -Path bin\SporeModLoader\SporeModManager
New-Item -ItemType File -Force -Path bin\SporeModLoader\ModLibs\.keep
New-Item -ItemType File -Force -Path bin\SporeModLoader\ModLibs\keep.txt
Copy "3rdParty\Spore-ModAPI\dll\Release\SporeModAPI.dll" "bin\SporeModLoader\CoreLibs\SporeModAPI.dll"
Copy "3rdParty\Spore-ModAPI-legacy\SporeModAPI-disk.dll" "bin\SporeModLoader\CoreLibs\SporeModAPI-disk.dll"
Expand Down Expand Up @@ -114,6 +114,7 @@ jobs:
path: mingw-artifacts
- name: Prepare SporeModLoader (mingw)
run: |
rm artifacts/SporeModLoader/ModLibs/keep.txt
cp -r artifacts/SporeModLoader/CoreLibs/ mingw-artifacts/SporeModLoader/CoreLibs
cp -r artifacts/SporeModLoader/ModLibs/ mingw-artifacts/SporeModLoader/ModLibs
cp artifacts/SporeModLoader/SporeModManager/SporeModManager mingw-artifacts/SporeModLoader/SporeModManager/SporeModManager
Expand Down

0 comments on commit eeae8ef

Please sign in to comment.