Skip to content

Commit

Permalink
Merge pull request #10 from budougumi0617/fix/install-path
Browse files Browse the repository at this point in the history
fix: change asset path
  • Loading branch information
budougumi0617 authored Sep 20, 2024
2 parents 5ef71f7 + 977094b commit 9422aa8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PATH="${TEMP_PATH}:$PATH"

echo '::group:: Installing gigi ... https://github.com/budougumi0617/gigi'
echo "info: $(curl -Ls https://api.github.com/repos/budougumi0617/gigi/releases/latest | grep html_url.*tag)"
curl -L "$(curl -Ls https://api.github.com/repos/budougumi0617/gigi/releases/latest | grep -o -E "https://.+?_Linux_x86_64.tar.gz")" -o gigi.tar.gz && tar -zxvf gigi.tar.gz -C "${TEMP_PATH}" && rm gigi.tar.gz
curl -L "$(curl -Ls https://api.github.com/repos/budougumi0617/gigi/releases/latest | grep -o -E "https://.+?_linux_amd64.tar.gz")" -o gigi.tar.gz && tar -zxvf gigi.tar.gz -C "${TEMP_PATH}" && rm gigi.tar.gz
echo '::endgroup::'

export GIGI_GITHUB_TOKEN="${INPUT_GITHUB_TOKEN}"
Expand All @@ -19,4 +19,5 @@ echo '::group:: Running gigi ...'
gigi
status=$?
echo '::endgroup::'
exit $status
exit $status

0 comments on commit 9422aa8

Please sign in to comment.