diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4a7c496..0c1734c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,6 +27,18 @@ jobs: with: fetch-depth: 0 + - name: Configure sccache + uses: actions/github-script@v6 + with: + script: | + core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); + + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + with: + version: "v0.7.4" + - name: Log in to the Container registry uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 with: