bazel(ci): Fix Linux Bazel workflow

This commit is contained in:
Mizux Seiha
2024-07-31 14:15:03 +02:00
parent e29da45738
commit 74ef5934cc

View File

@@ -24,6 +24,8 @@ jobs:
- uses: actions/checkout@v4
- name: Check Java
run: java -version
- name: Check mvn
run: mvn --version
- name: Setup Python
uses: actions/setup-python@v4
with:
@@ -39,6 +41,12 @@ jobs:
sudo apt-get install bazel
- name: Check Bazel
run: bazel version
- name: Change Python in WORKSPACE
run: >
sed
-i
's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "${{ matrix.python.version }}"/g'
WORKSPACE
- name: Build
run: >
bazel build