Skip to content

Commit

Permalink
bazel 8.1.1
Browse files Browse the repository at this point in the history
It appears that the environment variable USE_BAZEL_VERSION is not inherited within the dpkg-buildpackage command.
Therefore, the version of bazel specified in src/.bazeliskrc takes precedence.
Therefore, switch to downloading bazel instead of bazelisk to deal with this.
  • Loading branch information
phoepsilonix committed Feb 26, 2025
1 parent d12c892 commit e66089f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ jobs:
NON_ROOT="${{ steps.startup.outputs.non_root }}"
sudo mkdir -p /usr/local/bin
sudo curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-amd64
#sudo curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/8.1.1/bazel-8.1.1-linux-x86_64
#sudo curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.25.0/bazelisk-linux-amd64
sudo curl -Lo /usr/local/bin/bazel https://github.com/bazelbuild/bazel/releases/download/8.1.1/bazel-8.1.1-linux-x86_64
sudo chmod +x /usr/local/bin/bazel
sudo mkdir -p /github/workspace/.cache/bazelisk
sudo chown -R ${NON_ROOT}:${NON_ROOT} /github/workspace/.cache
Expand Down

0 comments on commit e66089f

Please sign in to comment.