You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 6, 2022. It is now read-only.
read -p "🔧 Name of a CLI that you want to setup using this GitHub Action, e.g. wren: " cli_name;\
27
+
[ -z"$$cli_name" ] &&echo'❌ CLI name cannot be empty.'&&exit 1;\
28
+
export CLI_NAME=$$cli_name;\
29
+
read -p "🗄 File extension that this GitHub Action will download to install, e.g. zip (zip): " cli_extension;\
30
+
[ -z"$$cli_extension" ] && cli_extension='zip';\
31
+
export CLI_EXTENSION=$$cli_extension;\
32
+
read -p "🌐 First part of URL that will be used to download CLI tool, e.g. if url to download CLI tool looks like https://github.com/wren-lang/wren-cli/releases/download/0.3.0/wren_cli-linux-0.3.0.zip then you should enter https://github.com/wren-lang/wren-cli/releases/download: " cli_url;\
33
+
[ -z"$$cli_url" ] &&echo'❌ CLI URL cannot be empty.'&&exit 1;\
34
+
export CLI_URL=$$cli_url;\
35
+
read -p "🔢 Latest available version of $$cli_name tool: " latest_version;\
36
+
[ -z"$$latest_version" ] &&echo'❌ Version cannot be empty.'&&exit 1;\
0 commit comments