ci: Added build cache to workflow
All checks were successful
CI / Prepare job (push) Successful in 15s
CI / Build individual modules (push) Successful in 5m34s
CI / Publish repo (push) Successful in 1m47s

This commit is contained in:
WebDitto 2025-06-19 15:54:28 -03:00
parent d09fc02078
commit 6b0de66cf6
2 changed files with 30 additions and 20 deletions

View file

@ -13,7 +13,7 @@ concurrency:
cancel-in-progress: true
env:
CI_CHUNK_SIZE: 288
CI_CHUNK_SIZE: 65
jobs:
prepare:
@ -75,6 +75,17 @@ jobs:
with:
cache-read-only: true
- name: Restore build cache
uses: https://github.com/actions/cache/restore@v3
with:
path: |
src/**/build
!src/**/build/outputs
key: build-cache-${{ github.event.pull_request.base.sha }}-${{ matrix.chunk }}
restore-keys: |
build-cache-${{ github.event.pull_request.base.sha }}-
build-cache-
- name: Build extensions (chunk ${{ matrix.chunk }})
env:
CI_CHUNK_NUM: ${{ matrix.chunk }}