Skip to content

Commit cb936e9

Browse files
committed
Add step to download OpenShift client in release workflow
1 parent 9af815e commit cb936e9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ jobs:
3131
- name: Run lint
3232
run: make lint
3333

34+
-
35+
name: Download OpenShift client
36+
run: |
37+
mkdir -p ~/oc
38+
cd ~/oc
39+
curl -L https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz -o oc.tar.gz
40+
tar -xzf oc.tar.gz
41+
echo "$HOME/oc" >> $GITHUB_PATH
42+
3443
- name: Run unit tests
3544
run: make test-unit
3645

0 commit comments

Comments
 (0)