fix: use powershell syntax for multi-item move

This commit is contained in:
2024-04-24 02:11:34 -05:00
parent c56dcc64e8
commit 911f4878f8
2 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: "Linux Build"
name: linux
path: /tmp/example/
retention-days: 7
if-no-files-found: error

View File

@@ -67,11 +67,11 @@ jobs:
- name: Prepare Archive
run: |
mkdir ./release/
mv ./target/release/pacman.exe ./release/
mv ./SDL2.dll ./SDL2_image.dll ./SDL2_ttf.dll ./SDL2_mixer.dll ./SDL2_gfx.dll ./release/
mkdir ./release/assets/
mv ./assets/TerminalVector.ttf ./assets/tetris.ogg ./assets/fruit.png ./release/assets/
New-Item -Type Directory ./release/
Move-Item -Path ./target/release/pacman.exe -Destination ./release/
Move-Item -Path ./SDL2.dll, ./SDL2_image.dll, ./SDL2_ttf.dll, ./SDL2_mixer.dll, ./SDL2_gfx.dll, -Destination ./release/
New-Item -Type Directory ./release/assets/
Move-Item -Path ./assets/TerminalVector.ttf, ./assets/tetris.ogg, ./assets/fruit.png, -Destination ./release/assets/
- name: Upload Artifact
uses: actions/upload-artifact@v4