From d64b80987cca288e17f6d2629a16b1d744a0d077 Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Fri, 29 Aug 2025 13:07:29 -0600 Subject: [PATCH] support for sccache --- .github/workflows/startos-iso.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/startos-iso.yaml b/.github/workflows/startos-iso.yaml index 839cc35a3..3732ac863 100644 --- a/.github/workflows/startos-iso.yaml +++ b/.github/workflows/startos-iso.yaml @@ -93,8 +93,18 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Configure sccache + uses: actions/github-script@v7 + with: + script: | + core.exportVariable('ACTIONS_RESULTS_URL', process.env.ACTIONS_RESULTS_URL || ''); + core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || ''); + - name: Make run: make ARCH=${{ matrix.arch }} compiled-${{ matrix.arch }}.tar + env: + SCCACHE_GHA_ENABLED: on + SCCACHE_GHA_VERSION: 0 - uses: actions/upload-artifact@v4 with: