Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
ci: upgrade: fail on subcommand errors
Browse files Browse the repository at this point in the history
  • Loading branch information
paulolieuthier committed Oct 6, 2023
1 parent f3dcb5c commit 6e1b8f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
uses: actions/checkout@v4
- name: Upgrade
run: |
set -xeo pipefail
echo 'Checking for updates'
LATEST="$(curl -sSLf --retry 5 https://api.github.com/repos/actions/runner/releases/latest | jq -r '.tag_name | ltrimstr("v")')"
echo "Latest version is ${LATEST}"
Expand Down

0 comments on commit 6e1b8f5

Please sign in to comment.