Required:
- curl
- jq
REPO="actions/runner" \
IDENTIFIER="linux-x64" \
curl -O -Ls $(curl -s "https://api.github.com/repos/${REPO}/releases/latest" | jq -r '.assets[] | select(.name | contains("'"${IDENTIFIER}"'")) | .browser_download_url')
Required:
REPO="actions/runner" \
IDENTIFIER="linux-x64" \
curl -O -Ls $(curl -s "https://api.github.com/repos/${REPO}/releases/latest" | jq -r '.assets[] | select(.name | contains("'"${IDENTIFIER}"'")) | .browser_download_url')