Skip to content

Commit 50cce50

Browse files
committedMar 5, 2025·
FreeBSD: rustup toolchain install
1 parent 9381de4 commit 50cce50

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed
 

‎.github/workflows/prepare-release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ jobs:
161161
run: |
162162
sudo pkg install -y -f curl node libnghttp2 npm
163163
sudo npm install -g pnpm@9.6.0 --unsafe-perm=true
164-
curl https://sh.rustup.rs -sSf --output rustup.sh
165-
sh rustup.sh -y --profile minimal
164+
curl -sSf https://static.rust-lang.org/rustup/archive/1.27.1/x86_64-unknown-freebsd/rustup-init --output rustup-init
165+
chmod +x rustup-init
166+
./rustup-init -y --profile minimal
166167
source "$HOME/.cargo/env"
167168
pnpm install --ignore-scripts --filter=!./playgrounds/* || true
168169
echo "~~~~ rustc --version ~~~~"

‎.github/workflows/release-insiders.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ jobs:
160160
run: |
161161
sudo pkg install -y -f curl node libnghttp2 npm
162162
sudo npm install -g pnpm@9.6.0 --unsafe-perm=true
163-
curl https://sh.rustup.rs -sSf --output rustup.sh
164-
sh rustup.sh -y --profile minimal
163+
curl -sSf https://static.rust-lang.org/rustup/archive/1.27.1/x86_64-unknown-freebsd/rustup-init --output rustup-init
164+
chmod +x rustup-init
165+
./rustup-init -y --profile minimal
165166
source "$HOME/.cargo/env"
166167
echo "~~~~ rustc --version ~~~~"
167168
rustc --version

‎.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ jobs:
160160
run: |
161161
sudo pkg install -y -f curl node libnghttp2 npm
162162
sudo npm install -g pnpm@9.6.0 --unsafe-perm=true
163-
curl https://sh.rustup.rs -sSf --output rustup.sh
164-
sh rustup.sh -y --profile minimal
163+
curl -sSf https://static.rust-lang.org/rustup/archive/1.27.1/x86_64-unknown-freebsd/rustup-init --output rustup-init
164+
chmod +x rustup-init
165+
./rustup-init -y --profile minimal
165166
source "$HOME/.cargo/env"
166167
echo "~~~~ rustc --version ~~~~"
167168
rustc --version

0 commit comments

Comments
 (0)
Please sign in to comment.