Skip to content

Commit 765f60b

Browse files
committed
Replace jkroepke/setup-stackit-cli
Signed-off-by: Jan-Otto Kröpke <[email protected]>
1 parent 992fae7 commit 765f60b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ jobs:
1818
with:
1919
go-version: ${{ matrix.go-version }}
2020
- name: Install STACKIT CLI
21-
uses: jkroepke/setup-stackit-cli@v1
21+
run: |-
22+
OS=$(uname | tr '[:upper:]' '[:lower:]')
23+
ARCH=$(uname -m)
24+
25+
[ "$ARCH" = "x86_64" ] && ARCH=amd64
26+
[ "$ARCH" = "aarch64" ] && ARCH=amd64
27+
28+
echo Downloading stackit-cli from https://github.com/stackitcloud/stackit-cli/releases/download/v${STACKIT_CLI_VERSION}/stackit-cli_${STACKIT_CLI_VERSION}_${OS}_${ARCH}.tar.gz
29+
curl -sSfLo - https://github.com/stackitcloud/stackit-cli/releases/download/v${STACKIT_CLI_VERSION}/stackit-cli_${STACKIT_CLI_VERSION}_${OS}_${ARCH}.tar.gz | sudo tar zxf - -C /usr/local/bin/ stackit
30+
env:
31+
STACKIT_CLI_VERSION: 0.31.0
2232
- name: Test
2333
run: make test
2434

0 commit comments

Comments
 (0)