diff --git a/.github/workflows/build-linux-binaries.yml b/.github/workflows/build-linux-binaries.yml index 8781ba6f1849..f4f69104b1ef 100644 --- a/.github/workflows/build-linux-binaries.yml +++ b/.github/workflows/build-linux-binaries.yml @@ -28,9 +28,7 @@ jobs: run: ./scripts/build.sh - name: Install aws cli - run: | - sudo apt update - sudo apt -y install awscli + run: sudo snap install aws-cli --classic - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -90,9 +88,7 @@ jobs: run: ./scripts/build.sh - name: Install aws cli - run: | - sudo apt update - sudo apt -y install awscli + run: sudo snap install aws-cli --classic - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 diff --git a/.github/workflows/build-ubuntu-amd64-release.yml b/.github/workflows/build-ubuntu-amd64-release.yml index 6d6514584f01..30c546fa108a 100644 --- a/.github/workflows/build-ubuntu-amd64-release.yml +++ b/.github/workflows/build-ubuntu-amd64-release.yml @@ -26,9 +26,7 @@ jobs: run: ./scripts/build.sh - name: Install aws cli - run: | - sudo apt update - sudo apt -y install awscli + run: sudo snap install aws-cli --classic - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -86,9 +84,7 @@ jobs: run: ./scripts/build.sh - name: Install aws cli - run: | - sudo apt update - sudo apt -y install awscli + run: sudo snap install aws-cli --classic - name: Try to get tag from git if: "${{ github.event.inputs.tag == '' }}" diff --git a/.github/workflows/build-ubuntu-arm64-release.yml b/.github/workflows/build-ubuntu-arm64-release.yml index 1a8e7e118ad2..de9382be6f13 100644 --- a/.github/workflows/build-ubuntu-arm64-release.yml +++ b/.github/workflows/build-ubuntu-arm64-release.yml @@ -26,9 +26,7 @@ jobs: run: ./scripts/build.sh - name: Install aws cli - run: | - sudo apt update - sudo apt -y install awscli + run: sudo snap install aws-cli --classic - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -86,9 +84,7 @@ jobs: run: ./scripts/build.sh - name: Install aws cli - run: | - sudo apt update - sudo apt -y install awscli + run: sudo snap install aws-cli --classic - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4