Skip to content

Commit

Permalink
bazel(ci): Fix Linux Bazel workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jul 31, 2024
1 parent e29da45 commit 74ef593
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/amd64_linux_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 74ef593

Please sign in to comment.