Skip to content

Commit

Permalink
ci: save/restore cache
Browse files Browse the repository at this point in the history
  • Loading branch information
paradajz committed Mar 3, 2024
1 parent 32cce5e commit b4fc150
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,23 @@ jobs:
with:
fetch-depth: 0
submodules: recursive
- name: Restore ccache
uses: actions/cache/restore@v4
with:
path: |
ccache
key: ccache-key
- name: Build and test targets
run: |
git fetch --tags
./scripts/build_targets.sh --type=build
./scripts/build_targets.sh --type=test
- name: Save ccache
uses: actions/cache/save@v4
with:
path: |
ccache
key: ccache-key
format:
name: Code formatting
runs-on: ubuntu-22.04
Expand Down

0 comments on commit b4fc150

Please sign in to comment.