Skip to content

Commit 1dfa273

Browse files
authored
Merge pull request #9 from bdice/restore-ccache
Try restoring ccache
2 parents d4f774a + d2eebbd commit 1dfa273

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.github/workflows/linux-build.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,11 @@ jobs:
6666
install_cuda ${CUDA_VERSION}
6767
fi
6868
69-
# - uses: assignUser/stash/restore@v1
70-
# with:
71-
# path: '${{ env.CCACHE_DIR }}'
72-
# key: ccache-linux-adapters
69+
- uses: assignUser/stash/restore@v1
70+
with:
71+
token: '${{ secrets.ARTIFACT_CACHE_TOKEN }}'
72+
path: '${{ env.CCACHE_DIR }}'
73+
key: ccache-linux-adapters
7374

7475
- name: "Zero Ccache Statistics"
7576
run: |
@@ -125,11 +126,12 @@ jobs:
125126
working-directory: velox
126127
steps:
127128

128-
# - name: Get Ccache Stash
129-
# uses: assignUser/stash/restore@v1
130-
# with:
131-
# path: '${{ env.CCACHE_DIR }}'
132-
# key: ccache-ubuntu-debug-default
129+
- name: Get Ccache Stash
130+
uses: assignUser/stash/restore@v1
131+
with:
132+
token: '${{ secrets.ARTIFACT_CACHE_TOKEN }}'
133+
path: '${{ env.CCACHE_DIR }}'
134+
key: ccache-ubuntu-debug-default
133135

134136
- name: Ensure Stash Dirs Exists
135137
working-directory: ${{ github.workspace }}

0 commit comments

Comments
 (0)