Skip to content

Commit

Permalink
fix(ci): install rust toolchain for macos nightly targets (#22596)
Browse files Browse the repository at this point in the history
* fix(ci): install rust toolchain for macos nightly targets

* more elegant fix
  • Loading branch information
pront authored Mar 5, 2025
1 parent d0d770f commit cba85ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,11 @@ jobs:
with:
ref: ${{ inputs.git_ref }}
- name: Bootstrap runner environment (macOS-specific)
run: bash scripts/environment/bootstrap-macos.sh
run: |
bash scripts/environment/bootstrap-macos.sh
# We usually run `scripts/environment/prepare.sh` but in this case we only need the toolchain.
rustup show active-toolchain || rustup toolchain install
rustup show
- name: Build Vector
env:
TARGET: "${{ matrix.architecture }}-apple-darwin"
Expand Down

0 comments on commit cba85ca

Please sign in to comment.