Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldickison committed Sep 28, 2024
1 parent 479d3dd commit 42c900f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ while [[ $# -gt 0 ]]; do
esac
done

if $GH_RUN_ID; then
if [ -n "$GH_RUN_ID" ]; then
echo "Using artifact from GH Action run ID: $GH_RUN_ID"
gh run download $GH_RUN_ID -n build-output -d gh-artifact || exit
cd gh-artifact
Expand All @@ -47,7 +47,7 @@ sudo install -vb \

sudo systemctl restart $SERVICE

if $GH_RUN_ID; then
if [ -n "$GH_RUN_ID" ]; then
cd ..
rm -rf gh-artifact
fi

0 comments on commit 42c900f

Please sign in to comment.