5 lines
No EOL
215 B
Bash
5 lines
No EOL
215 B
Bash
#!/usr/bin/env bash
|
|
version=$(curl -sX GET "https://api.github.com/repos/actions/runner/releases/latest" | jq --raw-output '.tag_name')
|
|
version="${version#*v}"
|
|
version="${version#*release-}"
|
|
printf "%s" "${version}" |