-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try using
p0deje/setup-bazel
everywhere.
Change-Id: If5d32fdb715be0b3b4ecdcf4d762ca92eb2c99d6 Reviewed-on: https://code-review.googlesource.com/c/re2/+/62670 Reviewed-by: Alex Chernyakhovsky <[email protected]> Reviewed-by: Paul Wankadia <[email protected]>
- Loading branch information
Showing
3 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ jobs: | |
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bazelbuild/setup-bazelisk@v3 | ||
- uses: p0deje/[email protected] | ||
with: | ||
bazelisk-version: '1.x' | ||
- run: .github/bazel.sh | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,9 @@ jobs: | |
USER: runner | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bazelbuild/setup-bazelisk@v3 | ||
- uses: p0deje/[email protected] | ||
with: | ||
bazelisk-version: '1.x' | ||
- run: app/build.sh | ||
shell: bash | ||
- uses: actions/upload-pages-artifact@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,9 @@ jobs: | |
# Stash the timestamp for the commit SHA that triggered the workflow. | ||
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" | ||
shell: bash | ||
- uses: bazelbuild/setup-bazelisk@v3 | ||
- uses: p0deje/[email protected] | ||
with: | ||
bazelisk-version: '1.x' | ||
- name: Prepare Python ${{ matrix.ver }} environment | ||
run: | | ||
"${PYTHON}" -m pip install --upgrade pip | ||
|
@@ -86,7 +88,9 @@ jobs: | |
# Stash the timestamp for the commit SHA that triggered the workflow. | ||
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" | ||
shell: bash | ||
- uses: bazelbuild/setup-bazelisk@v3 | ||
- uses: p0deje/[email protected] | ||
with: | ||
bazelisk-version: '1.x' | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.ver }} | ||
|
@@ -135,12 +139,9 @@ jobs: | |
# Stash the timestamp for the commit SHA that triggered the workflow. | ||
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" | ||
shell: bash | ||
# Avoid the Chocolatey install of Bazel getting in the way; | ||
# `bazelbuild/setup-bazelisk` doesn't work for some reason. | ||
- run: | | ||
choco uninstall -y bazel | ||
choco install -y bazelisk | ||
shell: bash | ||
- uses: p0deje/[email protected] | ||
with: | ||
bazelisk-version: '1.x' | ||
# Lowercase the architecture name for `actions/setup-python`. | ||
- run: | | ||
ARCHITECTURE=${{ matrix.arch.name }} | ||
|