diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 43898a21..3094e9f6 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -18,13 +18,19 @@ jobs: steps: - uses: https://code.forgejo.org/actions/checkout@v4 - - name: Invidious build cache - id: invidious-cache - uses: actions/cache@v4 + - name: Set up cache + uses: https://code.forgejo.org/actions/cache@v3 + id: ccache-restore with: path: | ./lib - key: invidious-cache + key: ${{ runner.os }}-${{ matrix.type }}-${{ github.sha }} + restore-keys: | + ${{ runner.os }}-${{ matrix.type }}- + + - name: Create cache directory + if: steps.ccache-restore.outputs.cache-hit != 'true' + run: mkdir -p ./lib - uses: https://code.forgejo.org/docker/setup-buildx-action@v3 name: Setup Docker BuildX system