diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 7ff2054..806d705 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -36,6 +36,13 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ matrix.os }}-${{ matrix.platform }} + max-size: 10G + + - name: Configure ccache + run: | + ccache --set-config=sloppiness=time_macros,locale,include_file_ctime,include_file_mtime + ccache --set-config=hash_dir=false + ccache -p - name: Get latest node version run: echo "LATEST_VERSION=$(curl -fsSLo- --compressed https://nodejs.org/dist/index.json | jq '.[].version' | tr -d '"' | tr -d 'v' | head -1)" >> $GITHUB_ENV diff --git a/.github/workflows/update-current-image.yml b/.github/workflows/update-current-image.yml index 61e9a7e..480f15a 100644 --- a/.github/workflows/update-current-image.yml +++ b/.github/workflows/update-current-image.yml @@ -65,6 +65,13 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ${{ matrix.os }}-${{ matrix.platform }} + max-size: 10G + + - name: Configure ccache + run: | + ccache --set-config=sloppiness=time_macros,locale,include_file_ctime,include_file_mtime + ccache --set-config=hash_dir=false + ccache -p - name: Show NODE_VERSION run: echo $NODE_VERION