From 911f4878f83260c7001e820ccc7316ea7ed06385 Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 24 Apr 2024 02:11:34 -0500 Subject: [PATCH] fix: use powershell syntax for multi-item move --- .github/workflows/linux.yaml | 2 +- .github/workflows/windows.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index d3c183a..bd7777c 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index d0c6814..6fa5e28 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -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