diff --git a/.github/workflows/cromite.yml b/.github/workflows/cromite.yml index adef2c61d..e013831a1 100644 --- a/.github/workflows/cromite.yml +++ b/.github/workflows/cromite.yml @@ -26,6 +26,7 @@ jobs: run: | echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT mkdir -p "${GITHUB_WORKSPACE}/distfiles" + mkdir -p "${GITHUB_WORKSPACE}/ccache" - name: Calculate the hash of changed files id: hash @@ -44,7 +45,7 @@ jobs: id: cache-distfiles uses: actions/cache@v3 with: - path: "${{ steps.prepare.outputs.workspace }}/distfiles" + path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache" key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }} restore-keys: | ${{ github.workflow }} @@ -97,6 +98,7 @@ jobs: run: | echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT mkdir -p "${GITHUB_WORKSPACE}/distfiles" + mkdir -p "${GITHUB_WORKSPACE}/ccache" - name: Calculate the hash of changed files id: hash @@ -115,7 +117,7 @@ jobs: id: cache-distfiles uses: actions/cache@v3 with: - path: "${{ steps.prepare.outputs.workspace }}/distfiles" + path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache" key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }} restore-keys: | ${{ github.workflow }} diff --git a/.github/workflows/electron.yml b/.github/workflows/electron.yml index 3e4982c2a..86e0016a9 100644 --- a/.github/workflows/electron.yml +++ b/.github/workflows/electron.yml @@ -26,6 +26,7 @@ jobs: run: | echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT mkdir -p "${GITHUB_WORKSPACE}/distfiles" + mkdir -p "${GITHUB_WORKSPACE}/ccache" - name: Calculate the hash of changed files id: hash @@ -44,7 +45,7 @@ jobs: id: cache-distfiles uses: actions/cache@v3 with: - path: "${{ steps.prepare.outputs.workspace }}/distfiles" + path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache" key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }} restore-keys: ${{ github.workflow }} @@ -91,6 +92,7 @@ jobs: run: | echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT mkdir -p "${GITHUB_WORKSPACE}/distfiles" + mkdir -p "${GITHUB_WORKSPACE}/ccache" - name: Calculate the hash of changed files id: hash @@ -109,7 +111,7 @@ jobs: id: cache-distfiles uses: actions/cache@v3 with: - path: "${{ steps.prepare.outputs.workspace }}/distfiles" + path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache" key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }} restore-keys: ${{ github.workflow }} diff --git a/.github/workflows/ungoogled-chromium.yml b/.github/workflows/ungoogled-chromium.yml index dd7300938..553ede7f8 100644 --- a/.github/workflows/ungoogled-chromium.yml +++ b/.github/workflows/ungoogled-chromium.yml @@ -26,6 +26,7 @@ jobs: run: | echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT mkdir -p "${GITHUB_WORKSPACE}/distfiles" + mkdir -p "${GITHUB_WORKSPACE}/ccache" - name: Calculate the hash of changed files id: hash @@ -44,7 +45,7 @@ jobs: id: cache-distfiles uses: actions/cache@v3 with: - path: "${{ steps.prepare.outputs.workspace }}/distfiles" + path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache" key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }} restore-keys: ${{ github.workflow }} @@ -96,6 +97,7 @@ jobs: run: | echo "workspace=${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT mkdir -p "${GITHUB_WORKSPACE}/distfiles" + mkdir -p "${GITHUB_WORKSPACE}/ccache" - name: Calculate the hash of changed files id: hash @@ -114,7 +116,7 @@ jobs: id: cache-distfiles uses: actions/cache@v3 with: - path: "${{ steps.prepare.outputs.workspace }}/distfiles" + path: "${{ steps.prepare.outputs.workspace }}/distfiles ${{ steps.prepare.outputs.workspace }}/ccache" key: ${{ github.workflow }}-${{ steps.hash.outputs.digest }} restore-keys: ${{ github.workflow }}