Skip to content

Commit

Permalink
Update actions/cache action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Jan 21, 2024
1 parent 93fc95c commit 5dd9907
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
echo "username=${Env:USERNAME}" >> ${Env:GITHUB_OUTPUT}
id: env
- name: Bazel cache (cache)
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "${{ steps.env.outputs.userprofile }}/_bazel_${{ steps.env.outputs.username }}/cache"
key: bazel-cache-${{ matrix.name }}-v1
- name: Bazel cache (install)
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "${{ steps.env.outputs.userprofile }}/_bazel_${{ steps.env.outputs.username }}/install"
key: bazel-install-${{ matrix.name }}-v1
Expand All @@ -49,7 +49,7 @@ jobs:
# (インストールする nvcc は解凍後で 100MB 程度なのでキャッシュ可能)
- name: Cache NVCC ${{ steps.versions.outputs.cuda_version }}
id: cache-cuda
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: _install\windows_x86_64\release\cuda\nvcc
key: windows-cuda-${{ steps.versions.outputs.cuda_version }}.v1
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
echo "user=`users`" >> $GITHUB_OUTPUT
id: env
- name: Bazel cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "/private/var/tmp/_bazel_${{ steps.env.outputs.user }}"
key: bazel-${{ matrix.name }}-v2
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Bazel cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "~/.cache/bazel"
key: bazel-${{ matrix.name }}-v1
Expand Down

0 comments on commit 5dd9907

Please sign in to comment.