diff --git a/.github/workflows/scaleway-down.yml b/.github/workflows/scaleway-down.yml index c44f3921b..9cefb5296 100644 --- a/.github/workflows/scaleway-down.yml +++ b/.github/workflows/scaleway-down.yml @@ -11,17 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Use CLI - uses: scaleway/action-scw@v0 + uses: jawher/action-scw@v2.24.0 env: SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }} SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }} SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }} SCW_ZONE: ${{ secrets.SCW_ZONE }} - with: - version: v2.24.0 - name: Get container ID run: | - echo "CONTAINER_ID=$(scw container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + echo "CONTAINER_ID=$(container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + - name: 0 instances uses: jawher/action-scw@v2.24.0 diff --git a/.github/workflows/scaleway-up.yml b/.github/workflows/scaleway-up.yml index 9a5cd224a..5a813db5d 100644 --- a/.github/workflows/scaleway-up.yml +++ b/.github/workflows/scaleway-up.yml @@ -11,17 +11,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Use CLI - uses: scaleway/action-scw@v0 + uses: jawher/action-scw@v2.24.0 env: SCW_ACCESS_KEY: ${{ secrets.SCW_ACCESS_KEY }} SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }} SCW_ORGANIZATION_ID: ${{ secrets.SCW_ORGANIZATION_ID }} SCW_ZONE: ${{ secrets.SCW_ZONE }} - with: - version: v2.24.0 - name: Get container ID run: | - echo "CONTAINER_ID=$(scw container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV + echo "CONTAINER_ID=$(container container list name=${{ secrets.CONTAINER_NAME }} | awk 'NR==2{print $1}')" >> $GITHUB_ENV - name: start 1 instances uses: jawher/action-scw@v2.24.0