Skip to content

Commit 45ad8b0

Browse files
committed
action fix
1 parent 92ade19 commit 45ad8b0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/edge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ jobs:
105105
106106
for zip_file in silverbullet-*-darwin-*.zip; do
107107
echo "=== Processing $zip_file ==="
108+
zip_file="$(pwd)/$zip_file"
108109
109110
WORK_DIR=$(mktemp -d)
110111
unzip -o "$zip_file" -d "$WORK_DIR"
@@ -127,7 +128,7 @@ jobs:
127128
--wait --timeout 10m
128129
129130
rm "$zip_file"
130-
(cd "$WORK_DIR" && zip "$(dirname "$zip_file")/$(basename "$zip_file")" "$BINARY")
131+
(cd "$WORK_DIR" && zip "$zip_file" "$BINARY")
131132
132133
rm -rf "$WORK_DIR"
133134
done

.github/workflows/server.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
105105
for zip_file in silverbullet-*-darwin-*.zip; do
106106
echo "=== Processing $zip_file ==="
107+
zip_file="$(pwd)/$zip_file"
107108
108109
WORK_DIR=$(mktemp -d)
109110
unzip -o "$zip_file" -d "$WORK_DIR"
@@ -126,7 +127,7 @@ jobs:
126127
--wait --timeout 10m
127128
128129
rm "$zip_file"
129-
(cd "$WORK_DIR" && zip "$(dirname "$zip_file")/$(basename "$zip_file")" "$BINARY")
130+
(cd "$WORK_DIR" && zip "$zip_file" "$BINARY")
130131
131132
rm -rf "$WORK_DIR"
132133
done

0 commit comments

Comments
 (0)