Skip to content

Commit aba0d5c

Browse files
committed
Use setup-bazel action in Nightly builds
1 parent 7d5fff9 commit aba0d5c

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/nightly.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,18 @@ jobs:
2525
with:
2626
java-version: 11
2727
distribution: 'temurin'
28-
- uses: ./.github/actions/cache-bazel
28+
- uses: p0deje/setup-bazel@0.1.0
2929
with:
30-
workflow: ruby
31-
key: bazel-ruby-nightly-${{ matrix.gem }}
32-
gcs-key: ${{ secrets.GOOGLE_CLOUD_STORAGE_KEY }}
33-
- uses: ./.github/actions/bazel
34-
with:
35-
command: run //rb:${{ matrix.gem }}-bump-nightly-version ${{ inputs.version }}
36-
- uses: ./.github/actions/bazel
30+
bazelisk-cache: true
31+
disk-cache: rb-${{ matrix.gem }}
32+
external-cache: |
33+
crates: rust/Cargo.Bazel.lock
34+
npm: package-lock.json
35+
pypi__pip: py/requirements_lock.txt
36+
rules_ruby_dist: rb/ruby_version.bzl
37+
repository-cache: true
38+
token: ${{ secrets.GITHUB_TOKEN }}
39+
- run: bazel run //rb:${{ matrix.gem }}-bump-nightly-version ${{ inputs.version }}
40+
- run: bazel run //rb:${{ matrix.gem }}-release-nightly
3741
env:
3842
GEM_HOST_API_KEY: Bearer ${{ secrets.GITHUB_TOKEN }}
39-
with:
40-
command: run //rb:${{ matrix.gem }}-release-nightly

0 commit comments

Comments
 (0)