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 eed286c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 @@ -217,7 +217,7 @@ jobs:
- name: Prepare SporeModManager (msvc)
run: |
pushd artifact
rm SporeModLoader/ModLibs/.keep -f
rm SporeModLoader/ModLibs/keep.txt -f
chmod +x SporeModLoader/SporeModManager/SporeModManager
7za a -mm=Deflate -mx=9 -r "../SporeModLoader-${GIT_REVISION}.zip" *
popd
Expand Down

0 comments on commit eed286c

Please sign in to comment.