diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index fa559b56..8bd0b576 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -43,8 +43,22 @@ jobs: WORKFLOW_RUN: ${{ github.run_number }} run: | echo "{ \"build\": $WORKFLOW_RUN }" > snapshot.json - - name: Download macOS and Windows Release + - name: Download macOS Release uses: actions/download-artifact@v4.1.8 + with: + name: macOS.HyperLap2D-SNAPSHOT.dmg + path: mac-release + - name: Download Windows Release + uses: actions/download-artifact@v4.1.8 + with: + name: Windows.HyperLap2D-SNAPSHOT.exe + path: windows-release + - name: Display structure of downloaded files + run: ls -R + - name: Fix dmg file names + run: mv mac-release/*.dmg macOS.HyperLap2D-SNAPSHOT.dmg + - name: Fix exe file names + run: mv windows-release/*.dmg Windows.HyperLap2D-SNAPSHOT.exe - name: Display structure of downloaded files run: ls -R - name: Upload deb artifact @@ -59,7 +73,7 @@ jobs: username: ${{ secrets.DEPLOY_SSH_USERNAME }} password: ${{ secrets.DEPLOY_SSH_PASSWORD }} port: ${{ secrets.DEPLOY_SSH_PORT }} - source: "Linux.HyperLap2D-SNAPSHOT.deb,Windows.HyperLap2D-SNAPSHOT.exe/Windows.HyperLap2D-SNAPSHOT.exe,macOS.HyperLap2D-SNAPSHOT.dmg/macOS.HyperLap2D-SNAPSHOT.dmg,snapshot.json" + source: "Linux.HyperLap2D-SNAPSHOT.deb,Windows.HyperLap2D-SNAPSHOT.exe,macOS.HyperLap2D-SNAPSHOT.dmg,snapshot.json" target: ${{ secrets.DEPLOY_SSH_TARGET_PATH }} - name: Publish SNAPSHOT artifacts if: "!contains(github.event.head_commit.message, 'editor only')"