Skip to content

Commit c995ae1

Browse files
authored
Release workflow: step to download operator-sdk. (#30)
1 parent 4b589d1 commit c995ae1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ jobs:
6060
with:
6161
go-version: 1.21.7
6262

63+
- name: Download operator-sdk
64+
env:
65+
OPERATOR_SDK_BIN=operator-sdk_linux_amd64
66+
OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/v1.33.0
67+
OPERATOR_SDK_DEST_FOLDER=/usr/local/bin
68+
run: |
69+
curl --location --remote-name ${OPERATOR_SDK_DL_URL}/${OPERATOR_SDK_BIN}
70+
chmod +x ${OPERATOR_SDK_BIN}
71+
sudo mv ${OPERATOR_SDK_BIN} ${OPERATOR_SDK_DEST_FOLDER}/operator-sdk
72+
operator-sdk version
73+
6374
- name: Disable default go problem matcher
6475
run: echo "::remove-matcher owner=go::"
6576

0 commit comments

Comments
 (0)