diff --git a/.github/workflows/edge.yml b/.github/workflows/edge.yml index 40761a6e..3ea7ed5d 100644 --- a/.github/workflows/edge.yml +++ b/.github/workflows/edge.yml @@ -105,6 +105,7 @@ jobs: for zip_file in silverbullet-*-darwin-*.zip; do echo "=== Processing $zip_file ===" + zip_file="$(pwd)/$zip_file" WORK_DIR=$(mktemp -d) unzip -o "$zip_file" -d "$WORK_DIR" @@ -127,7 +128,7 @@ jobs: --wait --timeout 10m rm "$zip_file" - (cd "$WORK_DIR" && zip "$(dirname "$zip_file")/$(basename "$zip_file")" "$BINARY") + (cd "$WORK_DIR" && zip "$zip_file" "$BINARY") rm -rf "$WORK_DIR" done diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 204627b0..0651c9a0 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -104,6 +104,7 @@ jobs: for zip_file in silverbullet-*-darwin-*.zip; do echo "=== Processing $zip_file ===" + zip_file="$(pwd)/$zip_file" WORK_DIR=$(mktemp -d) unzip -o "$zip_file" -d "$WORK_DIR" @@ -126,7 +127,7 @@ jobs: --wait --timeout 10m rm "$zip_file" - (cd "$WORK_DIR" && zip "$(dirname "$zip_file")/$(basename "$zip_file")" "$BINARY") + (cd "$WORK_DIR" && zip "$zip_file" "$BINARY") rm -rf "$WORK_DIR" done