Skip to content

Commit f5ebab3

Browse files
committed
fix: improve ci action
1 parent e86863d commit f5ebab3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
awk '{print $1" /tmp/'"${asset}"'"}' "/tmp/${asset}.sha256" | shasum -a 256 -c -
3535
mkdir -p /tmp/compact
3636
tar -xJf "/tmp/${asset}" -C /tmp/compact
37-
echo "/tmp/compact" >> "$GITHUB_PATH"
37+
compact_bin_dir="/tmp/compact/compact-x86_64-unknown-linux-musl"
38+
if [ -z "${compact_bin_dir}" ]; then
39+
echo "compact binary not found after extract"
40+
exit 1
41+
fi
42+
echo "${compact_bin_dir}" >> "$GITHUB_PATH"
3843
- name: Build all packages
3944
run: yarn build:all

0 commit comments

Comments
 (0)