Skip to content

Commit 5aab1f5

Browse files
Updated release action
1 parent d4761e4 commit 5aab1f5

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,14 @@ jobs:
2020
strategy:
2121
matrix:
2222
include:
23-
- platform: "ubuntu-22.04"
24-
container: "gcc:9.5.0-buster"
23+
- platform: "ubuntu-24.04"
2524
config: "dev"
26-
- platform: "ubuntu-22.04"
27-
container: "gcc:9.5.0-buster"
25+
- platform: "ubuntu-24.04"
2826
config: "release"
2927
# macOS 14 => arm64
3028
- platform: "macos-14"
31-
container: ""
3229
config: "release"
3330
runs-on: ${{ matrix.platform }}
34-
container: ${{ matrix.container }}
3531
env:
3632
TAG: ${{ github.event.ref }}
3733
permissions:
@@ -53,12 +49,12 @@ jobs:
5349
NEW_VERSION="${TAG_LIKE/v/}" ./tools/version_check.sh
5450
- name: "🐍 Install Bazelisk"
5551
run: |
56-
if ! command -v bazelisk; then
52+
if ! command -v bazelisk && ! command -v bazel; then
5753
if [ "$RUNNER_OS" == "Windows" ]; then
5854
choco install bazelisk
5955
elif [ "$RUNNER_OS" == "Linux" ]; then
60-
curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.16.0/bazelisk-linux-amd64 > /usr/local/bin/bazel
61-
chmod +x /usr/local/bin/bazel
56+
sudo curl -L https://github.com/bazelbuild/bazelisk/releases/download/v1.16.0/bazelisk-linux-amd64 -o /usr/local/bin/bazel
57+
sudo chmod +x /usr/local/bin/bazel
6258
else
6359
sudo npm install -g @bazel/bazelisk
6460
fi
@@ -91,7 +87,8 @@ jobs:
9187
SUFFIX="-linux"
9288
fi
9389
fi
94-
bazel build //indexer:scip-clang --config="$CONFIG$SUFFIX" # --execution_log_binary_file=log
90+
# Use CI bazelrc for bzlmod disable and other CI settings
91+
bazel --bazelrc=.bazelrc --bazelrc=.aspect/bazelrc/ci.bazelrc build //indexer:scip-clang --config="$CONFIG$SUFFIX" # --execution_log_binary_file=log
9592
if [ "$RUNNER_OS" == "Linux" ]; then
9693
echo "--- GLIBC VERSIONS ---"
9794
objdump -T bazel-bin/indexer/scip-clang | grep GLIBC | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu
@@ -129,7 +126,7 @@ jobs:
129126
name: "Create release"
130127
if: github.event_name != 'workflow_dispatch' || inputs.create_release
131128
needs: build-and-upload-artifacts
132-
runs-on: "ubuntu-22.04"
129+
runs-on: "ubuntu-24.04"
133130
steps:
134131
- uses: actions/checkout@v4
135132
- name: "📝 Create Release"

0 commit comments

Comments
 (0)