Skip to content

Commit

Permalink
gh-actions-install-cli: mkdir path
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisMontagne committed Jul 19, 2023
1 parent c3e2a2e commit d741d98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gh-actions-install-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target_path="${target_dir}/gh-downloader"
force_download=${FORCE_DOWNLOAD:-"false"}

if [ ! -f "$target_path" ] || [ "$force_download" == "true" ]; then
mkdir -p $target_dir
curl -L https://github.com/upfluence/gh-downloader/releases/$version/download/gh-downloader-linux-amd64 > $target_path
chmod +x $target_path
fi
Expand Down

0 comments on commit d741d98

Please sign in to comment.