From c6a2138a67fc24de8bc42ff5e658c385652ecc10 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 24 Apr 2025 08:36:44 -0700 Subject: [PATCH 1/2] Update configure-aws-credentials and ccache-action --- .github/actions/setup-sccache/action.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-sccache/action.yml b/.github/actions/setup-sccache/action.yml index 0e949f839..0b19b09f9 100644 --- a/.github/actions/setup-sccache/action.yml +++ b/.github/actions/setup-sccache/action.yml @@ -53,22 +53,23 @@ runs: - name: Authenticate to AWS id: aws-credentials - uses: aws-actions/configure-aws-credentials@v3 + uses: aws-actions/configure-aws-credentials@v4.1.0 if: inputs.aws-arn != '' with: role-to-assume: ${{ inputs.aws-arn }} role-session-name: ToolchainCISccacheAccess aws-region: ${{ inputs.aws-region }} + special-characters-workaround: 'true' # special characters in secrets can cause SignatureDoesNotMatch errors - name: Setup sccache (remote) if: inputs.aws-arn != '' && steps.aws-credentials.outcome == 'success' - uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17 + uses: thebrowsercompany/ccache-action@2bb339feaeb58ab618f79d7ab9e5dda7a73f3beb # main with: variant: sccache - name: Setup sccache (local) if: inputs.aws-arn == '' - uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17 + uses: thebrowsercompany/ccache-action@2bb339feaeb58ab618f79d7ab9e5dda7a73f3beb # main with: max-size: ${{ inputs.disk-max-size }} key: ${{ inputs.disk-cache-key }} From fd5c2dd0fa95f9e7d6d7582edbd72745763c5557 Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Thu, 24 Apr 2025 10:13:25 -0700 Subject: [PATCH 2/2] Use explicit hash --- .github/actions/setup-sccache/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-sccache/action.yml b/.github/actions/setup-sccache/action.yml index 0b19b09f9..fa1efd3a0 100644 --- a/.github/actions/setup-sccache/action.yml +++ b/.github/actions/setup-sccache/action.yml @@ -53,7 +53,7 @@ runs: - name: Authenticate to AWS id: aws-credentials - uses: aws-actions/configure-aws-credentials@v4.1.0 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 if: inputs.aws-arn != '' with: role-to-assume: ${{ inputs.aws-arn }}