Skip to content

Commit 20f1a51

Browse files
Update main.yml
1 parent 663702e commit 20f1a51

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ jobs:
4848
label=$(sed -r "s/\s/_/g" <<< "$app_name")
4949
label=$(sed -r "s/^(.{,27}).*$/\1/g" <<< "$label")
5050
sudo apt install hfsutils
51-
hformat -l "$label" "$dmg_path"
52-
mkdir /home/runner/work/flypen-frontend/flypen-frontend/dist/electron/Packaged/Flypen-mas-arm64/temp
53-
mount_point="/home/runner/work/flypen-frontend/flypen-frontend/dist/electron/Packaged/Flypen-mas-arm64/temp"
51+
sudo hformat -l "$label" "$dmg_path"
52+
mount_point="$(sudo mktemp -d)"
5453
sudo mount -t hfs -o loop "$dmg_path" "$mount_point"
5554
cp -R "$app_path" "$mount_point"
5655
ls -l "$mount_point"

0 commit comments

Comments
 (0)