forked from lthn/blockchain
Refactor caching paths in CI workflows to remove .ccache and streamline SDK folder caching
This commit is contained in:
parent
5e52b9a5a5
commit
993a0c4bed
6 changed files with 6 additions and 8 deletions
9
.github/workflows/build-docs.yml
vendored
9
.github/workflows/build-docs.yml
vendored
|
|
@ -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]
|
||||
|
|
|
|||
1
.github/workflows/build-linux-arm64.yml
vendored
1
.github/workflows/build-linux-arm64.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/build-linux-intel.yml
vendored
1
.github/workflows/build-linux-intel.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/build-macos-arm64.yml
vendored
1
.github/workflows/build-macos-arm64.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/build-macos-intel.yml
vendored
1
.github/workflows/build-macos-intel.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/build-windows-intel.yml
vendored
1
.github/workflows/build-windows-intel.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue