Skip to content

Commit

Permalink
Fixed caching in warm up workflow (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gazizonoki authored Jan 30, 2024
1 parent 405e374 commit e947399
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
shell: bash
run: |
ccache -z
export CCACHE_DIR=`realpath ../.ccache`
export CCACHE_DIR=`~/.ccache`
cd ../build
ninja examples/all client/all
ccache -s
2 changes: 1 addition & 1 deletion .github/workflows/pr_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Restore cache files
uses: actions/cache/restore@v4
with:
path: ../.ccache
path: ~/.ccache
key: ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
restore-keys: |
ubuntu-22.04-ccache-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/warmup_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Cache files
uses: actions/cache@v4
with:
path: ../.ccache
path: ~/.ccache
key: ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
restore-keys: |
ubuntu-22.04-ccache-
Expand Down

0 comments on commit e947399

Please sign in to comment.