Skip to content

Commit 0c89b32

Browse files
authored
Replace jkroepke/setup-stackit-cli
1 parent 992fae7 commit 0c89b32

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ 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+
curl -sSfLo - https://github.com/stackitcloud/stackit-cli/releases/download/v0.31.0/stackit-cli_0.31.0_${OS}_${ARCH}.tar.gz | sudo tar zxvf - -C /usr/local/bin/ stackit
2229
- name: Test
2330
run: make test
2431

0 commit comments

Comments
 (0)