1
0
Fork 0
forked from lthn/blockchain

Refactor caching paths in CI workflows to remove .ccache and streamline SDK folder caching

This commit is contained in:
snider 2025-10-06 20:32:34 +01:00
parent 5e52b9a5a5
commit 993a0c4bed
6 changed files with 6 additions and 8 deletions

View file

@ -17,10 +17,13 @@ jobs:
with:
python-version: 3.x
- uses: actions/cache@v4
- name: Cache SDK Folder
uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
path: |
${{ github.workspace }}/build/sdk
${{ github.workspace }}/build/bin
key: ${{ runner.os }}-${{ runner.arch }}-sdk
- run: sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev pngquant
- run: pip install mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2 mkdocs-git-authors-plugin mkdocs-material[imaging]

View file

@ -28,7 +28,6 @@ jobs:
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build/.ccache
${{ github.workspace }}/build/sdk
${{ github.workspace }}/build/bin
key: ${{ runner.os }}-${{ runner.arch }}-sdk

View file

@ -28,7 +28,6 @@ jobs:
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build/.ccache
${{ github.workspace }}/build/sdk
${{ github.workspace }}/build/bin
key: ${{ runner.os }}-${{ runner.arch }}-sdk

View file

@ -27,7 +27,6 @@ jobs:
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build/.ccache
${{ github.workspace }}/build/sdk
${{ github.workspace }}/build/bin
key: ${{ runner.os }}-${{ runner.arch }}-sdk

View file

@ -25,7 +25,6 @@ jobs:
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build/.ccache
${{ github.workspace }}/build/sdk
${{ github.workspace }}/build/bin
key: ${{ runner.os }}-${{ runner.arch }}-sdk

View file

@ -25,7 +25,6 @@ jobs:
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build/.ccache
${{ github.workspace }}/build/sdk
${{ github.workspace }}/build/bin
key: ${{ runner.os }}-${{ runner.arch }}-sdk