-
-
Save KyMidd/e5b60b8a0b926ed9dd6b495329b65a84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find installed version and latest version | |
INSTALLED_VERSION=$(/actions-runner/config.sh --version) | |
LATEST_VERSION=$(curl --silent "https://api.github.com/repos/actions/runner/releases/latest" | grep tag_name | sed -E 's/.*"v([^"]+)".*/\1/') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment