Skip to content

Commit 438518e

Browse files
committed
Fix cache directory path in CI
1 parent d412b14 commit 438518e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Grab Cache
3333
run: |
3434
docker build . -t docker.pkg.github.com/trailofbits/cxx-common/llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64-build:latest -f Dockerfile --build-arg UBUNTU_BASE=ubuntu:${{ matrix.ubuntu }} --build-arg LLVM_VERSION=${{ matrix.llvm }} --target cxx-common-build
35-
docker run --rm --entrypoint /bin/bash -v $(pwd)/cache:/tmp docker.pkg.github.com/trailofbits/cxx-common/llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64-build:latest -c "cp -r /cache/* /tmp"
35+
docker run --rm --entrypoint /bin/bash -v $(pwd)/cache:/tmp docker.pkg.github.com/trailofbits/cxx-common/llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64-build:latest -c "cp -r ./cache/* /tmp"
3636
- name: Push Image for LLVM ${{ matrix.llvm }} on ${{ matrix.ubuntu }}
3737
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
3838
run: |
@@ -64,7 +64,7 @@ jobs:
6464
- uses: actions/cache@v1
6565
name: Cache build artifact store
6666
with:
67-
path: /cache
67+
path: ./cache
6868
# https://github.com/actions/cache/issues/109 "Enable always writing cache to support hermetic build systems"
6969
# https://github.com/actions/cache/issues/239#issuecomment-606950711 Investigate this workaround if cache starts filling up
7070
key: store-${{ runner.os }}-${{ github.sha }}

0 commit comments

Comments
 (0)