Skip to content

Commit eefb6e8

Browse files
committed
install script and install instructions
1 parent c86a5b4 commit eefb6e8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ jobs:
152152
153153
for name in *; do
154154
cd "${{ github.workspace }}/artifacts/${name}/release"
155+
chmod +x ./*
155156
tar -czvf ./${name}.tar.gz ./*
156157
gh release upload $GH_TAG ${name}.tar.gz
157158
done

install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,13 @@ mkdir -p $OUT_DIR
6060

6161
if [ -z "${URL##*.tar.gz}" ]; then
6262
curl -s -L --url $URL | tar -xzf - -C $OUT_DIR
63+
chmod +x $OUT_DIR/http-server*
6364
fi
6465

6566
echo "export PATH=\"${OUT_DIR}:\$PATH\""
67+
>&2 echo "======="
68+
>&2 echo "Add this to \$PATH"
69+
>&2 echo " export PATH=\"${OUT_DIR}:\$PATH\""
6670

6771
if [ "$GITHUB_PATH" != "" ]; then
6872
echo "${OUT_DIR}" >> $GITHUB_PATH

0 commit comments

Comments
 (0)