Latest
This commit is contained in:
parent
a9a7e7269f
commit
8c10cd1bda
1 changed files with 1 additions and 1 deletions
|
@ -10180,7 +10180,7 @@ softwarePackages:
|
|||
_github: https://github.com/actions/runner
|
||||
_home: https://docs.github.com/en/actions/hosting-your-own-runners
|
||||
_name: GitHub Runner
|
||||
_when: '! test -f "$HOME/.local/github-runner/.runner"'
|
||||
_when: '! test -d "$HOME/.local/github-runner"'
|
||||
script: |
|
||||
RELEASES="$(curl -sSL --compressed --header "Authorization: Bearer $GITHUB_TOKEN" "https://api.github.com/repos/actions/runner/releases/latest")"
|
||||
LATEST_VERSION="$(echo "$RELEASES" | grep -o '"tag_name": "[^"]*' | grep -o '[^"]*$')"
|
||||
|
|
Loading…
Reference in a new issue