Skip to content

Commit 4550155

Browse files
committed
Compress release binary
1 parent 0d94ad5 commit 4550155

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,8 @@ jobs:
5858
;;
5959
esac
6060
61-
# Rename the file using the full tag name
62-
TARGET="technique-${{ github.ref_name }}-${OS}-${ARCH}"
63-
64-
mv target/release/technique "${TARGET}"
65-
61+
TARGET="technique-${{ github.ref_name }}-${OS}-${ARCH}.gz"
62+
gzip -c target/release/technique > ${TARGET}
6663
echo "binary=${TARGET}" >> $GITHUB_OUTPUT
6764
6865
- name: Upload binary to Release

0 commit comments

Comments
 (0)