Skip to content

Commit 83e1ff5

Browse files
authored
refactor(ci): use official scw action (#73)
* refactor(ci): use official scw action * fix(ci): change ref to master * fix(ci): switch to kebab case * chore: use v0.0.1
1 parent 3ac9fd0 commit 83e1ff5

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/integration-gateway.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@ jobs:
2828
repository: scaleway/serverless-gateway
2929
path: ${{ env.GATEWAY_CHECKOUT_DIR }}
3030

31-
- name: Install Scaleway CLI
32-
# Should point to GATEWAY_CHECKOUT_DIR but env is unusable here.
33-
# See: https://docs.github.com/en/actions/learn-github-actions/contexts#env-context
34-
uses: ./gateway/.github/actions/setup-scaleway-cli
31+
- name: Install CLI and create config file
32+
uses: scaleway/action-scw@v0.0.1
3533
with:
36-
scw-version: "2.13.0"
37-
scw-access-key: ${{ secrets.SCW_ACCESS_KEY }}
38-
scw-secret-key: ${{ secrets.SCW_SECRET_KEY }}
39-
scw-default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
40-
scw-default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
34+
version: v2.14.0
35+
access-key: ${{ secrets.SCW_ACCESS_KEY }}
36+
secret-key: ${{ secrets.SCW_SECRET_KEY }}
37+
default-project-id: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
38+
default-organization-id: ${{ secrets.SCW_DEFAULT_ORGANIZATION_ID }}
39+
save-config: true
4140

4241
- name: Create Gateway namespace
4342
working-directory: ${{ env.GATEWAY_CHECKOUT_DIR }}

0 commit comments

Comments
 (0)