Skip to content

Commit 92b6bbc

Browse files
committed
Use cache action instead of ccache
1 parent b945f5e commit 92b6bbc

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,16 @@ jobs:
4848
# echo "C:\Program Files (x86)\Subversion\bin" >> $env:GITHUB_PATH
4949
# svn --version # Verify installation
5050

51-
- name: ccache
52-
uses: hendrikmuhs/ccache-action@30ae3502c7f2d3200209bf2f90eccef2357896cf # v1.2
51+
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
52+
id: cache
5353
with:
54-
key: ${{ github.job }}-${{ matrix.platform }}
55-
verbose: 1
54+
path: |
55+
build/dfetch.build
56+
build/dfetch.dist
57+
key: ${{ runner.os }}-nuitka-build-
5658

5759
- name: Create binary
5860
run: |
59-
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
6061
pip install .[build]
6162
python script/build.py
6263
@@ -66,6 +67,14 @@ jobs:
6667
name: binary-distribution
6768
path: build/dfetch-*
6869

70+
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
71+
id: cache
72+
with:
73+
path: |
74+
build/dfetch.build
75+
build/dfetch.dist
76+
key: ${{ runner.os }}-nuitka-build-${{ github.sha }}
77+
6978
test-binary:
7079
name: Run binary
7180
needs:

0 commit comments

Comments
 (0)