Skip to content

Commit

Permalink
[cd skip] uff
Browse files Browse the repository at this point in the history
  • Loading branch information
fgnm committed Oct 7, 2024
1 parent 3b4e56b commit 09989c6
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
name: macOS.HyperLap2D-SNAPSHOT.dmg
path: mac-release
- name: Download Windows Release
uses: actions/[email protected]
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
Expand All @@ -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')"
Expand Down

0 comments on commit 09989c6

Please sign in to comment.