-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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')" | ||
|