mirror of
https://github.com/Xevion/rust-sdl2-emscripten.git
synced 2025-12-06 05:16:25 -06:00
fix: use powershell syntax for multi-item move
This commit is contained in:
2
.github/workflows/linux.yaml
vendored
2
.github/workflows/linux.yaml
vendored
@@ -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
|
||||
10
.github/workflows/windows.yaml
vendored
10
.github/workflows/windows.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user