Skip to content

Commit ee4a5d7

Browse files
committed
try again
1 parent ba1ef2b commit ee4a5d7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/binaries.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,15 @@ jobs:
8383
base="$(basename "$artifact_dir")"
8484
arch="${base#ssh-binaries-for-}" # => x86-64-small, aarch64-small, etc.
8585
86-
# Ensure the structure contains bin/
87-
if [ ! -d "$artifact_dir/bin" ]; then
88-
echo "WARN: $artifact_dir has no bin/ directory; skipping"
89-
continue
90-
fi
91-
9286
# Compose archive names
9387
PKG_TGZ="openssh-static-${arch}-${TAG}.tar.gz"
9488
PKG_ZIP="openssh-static-${arch}-${TAG}.zip"
9589
96-
# Create .tar.gz with bin/ contents
97-
tar -C "$artifact_dir" -czf "release/${PKG_TGZ}" bin
90+
# Create .tar.gz with contents
91+
tar -C "$artifact_dir" -czf "release/${PKG_TGZ}" .
9892
99-
# Create .zip with bin/ contents
100-
(cd "$artifact_dir" && zip -r "../../release/${PKG_ZIP}" bin > /dev/null)
93+
# Create .zip with contents
94+
(cd "$artifact_dir" && zip -r "../../release/${PKG_ZIP}" . > /dev/null)
10195
10296
done
10397

0 commit comments

Comments
 (0)