Skip to content

Commit

Permalink
feat(ci): make oc update more resilient (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Jul 18, 2024
1 parent e74a0e3 commit 666655c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/sync-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
env:
OC: https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable-4.13/openshift-client-linux.tar.gz
run: |
curl --silent ${{ env.OC }} | tar -xzvf - oc
# Download and extract with retry, continuing on error
(wget ${{ env.OC }} -qcO - | tar -xzvf - oc)|| !! || true
oc version
working-directory: /usr/local/bin/

Expand Down

0 comments on commit 666655c

Please sign in to comment.