From 9f154e6b9619a081b94628cacecffbdc2504c25f Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 3 Oct 2024 23:36:39 -0700 Subject: [PATCH] try caching ccache manually --- .forgejo/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 83d291b..962449e 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -34,8 +34,13 @@ jobs: tcl-dev \ z3 \ zlib1g-dev \ - - name: ccache - uses: https://github.com/hendrikmuhs/ccache-action@v1 + - name: Cache ccache dir + uses: https://code.forgejo.org/actions/checkout@v3 + with: + path: ~/.ccache + key: ${{ runner.os }}-${{ github.sha }} + restore-keys: | + ${{ runner.os }}- - run: | export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" echo "$PATH" >> "$GITHUB_PATH"