From 6f1080c63da32410c0be5feab207202997c5ebdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Tue, 3 Jun 2025 08:46:54 +0200 Subject: [PATCH] Allow PR builds to read sccache entries from S3 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81fb39cdc5692..6d53822fb777a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -235,6 +235,8 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.CACHES_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.CACHES_AWS_SECRET_ACCESS_KEY }} + # Allow reading (but not writing) sccache on PR builds + SCCACHE_S3_NO_CREDENTIALS: ${{ (needs.calculate_matrix.outputs.run_type == 'pr' && '1') || '0' }} - name: create github artifacts run: src/ci/scripts/create-doc-artifacts.sh