Skip to content

merge v1 into the main #112

merge v1 into the main

merge v1 into the main #112

name: Update maven_install.json
on:
pull_request:
paths:
- "MODULE.bazel"
jobs:
update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
- name: Setup Bazel
uses: bazelbuild/setup-bazelisk@b39c379c82683a5f25d34f0d062761f62693e0b2 # v3.0.0
- name: Cache Bazel outputs
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: "~/.cache/bazel"
key: bazel
- name: Update maven_install.json
run: |
REPIN=1 bazel run @unpinned_maven//:pin
- name: Commit updated files
if: ${{ !cancelled() }}
uses: iarekylew00t/verified-bot-commit@33985d44b7719dcaf0b854a0f4b0caad9bdc5b86 # v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: src/maven_install.json
message: "Update maven_install.json"