File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,29 +28,13 @@ jobs:
2828 # Steps represent a sequence of tasks that will be executed as part of the job
2929 steps :
3030 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
31- - uses : actions/checkout@v3
32- - uses : bazelbuild/setup-bazelisk@v2
33- - name : Mount bazel action cache
34- uses : actions/cache@v3
35- with :
36- path : " ~/.cache/bazel"
37- key : bazel
38- - name : Mount bazel repo cache
39- uses : actions/cache@v3
40- with :
41- path : " ~/.cache/bazel-repo"
42- key : bazel-repo
31+ - uses : actions/checkout@v4
4332 - name : Set Bazelisk Version ${{ matrix.bazel }}
4433 run : echo ${{ matrix.bazel }} > .bazelversion
34+ - uses : bazel-contrib/setup-bazel@0.15.0
4535 - name : Build
4636 shell : bash
47- env :
48- # Bazelisk will download bazel to here
49- XDG_CACHE_HOME : ~/.cache/bazel-repo
5037 run : bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc build ...
5138 - name : Test
5239 shell : bash
53- env :
54- # Bazelisk will download bazel to here
55- XDG_CACHE_HOME : ~/.cache/bazel-repo
5640 run : bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test ...
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout
16- uses : actions/checkout@v3
17- - uses : bazelbuild /setup-bazelisk@v2
16+ uses : actions/checkout@v4
17+ - uses : bazel-contrib /setup-bazel@0.15.0
1818 - name : Check git state is clean
1919 run : git status --porcelain
2020 - name : Export release version
2929 - name : Export checksum
3030 run : ' echo "RELEASE_CHECKSUM=$(shasum -b -a 256 bazel-bin/slamdev_toolchain_chromium-v${{ env.RELEASE_VERSION }}.tar.gz | cut -d " " -f 1)" >> $GITHUB_ENV'
3131 - name : Upload release
32- uses : softprops/action-gh-release@v1
32+ uses : softprops/action-gh-release@v2
3333 with :
3434 files : bazel-bin/slamdev_toolchain_chromium-v${{ env.RELEASE_VERSION }}.tar.gz
3535 fail_on_unmatched_files : true
You can’t perform that action at this time.
0 commit comments