|
|
|
@ -57,13 +57,13 @@ jobs:
|
|
|
|
|
uses: https://code.forgejo.org/actions/cache@v3
|
|
|
|
|
id: ccache-restore
|
|
|
|
|
with:
|
|
|
|
|
path: ~/.ccache
|
|
|
|
|
path: .ccache
|
|
|
|
|
key: ${{ runner.os }}-${{ matrix.type }}-${{ github.sha }}
|
|
|
|
|
restore-keys: |
|
|
|
|
|
${{ runner.os }}-${{ matrix.type }}-
|
|
|
|
|
- name: Create ccache directory
|
|
|
|
|
if: steps.ccache-restore.outputs.cache-hit != 'true'
|
|
|
|
|
run: mkdir -p ~/.ccache
|
|
|
|
|
run: mkdir -p .ccache
|
|
|
|
|
- name: Build
|
|
|
|
|
run: ./.ci/scripts/${{ matrix.type }}/docker.sh
|
|
|
|
|
env:
|
|
|
|
@ -173,7 +173,7 @@ jobs:
|
|
|
|
|
path: |
|
|
|
|
|
~/.gradle/caches
|
|
|
|
|
~/.gradle/wrapper
|
|
|
|
|
~/.ccache
|
|
|
|
|
.ccache
|
|
|
|
|
key: ${{ runner.os }}-android-${{ github.sha }}
|
|
|
|
|
restore-keys: |
|
|
|
|
|
${{ runner.os }}-android-
|
|
|
|
|