Skip to content

Commit

Permalink
chore(release): add rustup install path to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-olszewski committed Apr 17, 2024
1 parent bc69557 commit 949426b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/turborepo-library-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ jobs:
install: |
apk update && apk upgrade
apk add libc6-compat curl
echo /root/.cargo/bin >> ${GITHUB_PATH}
echo /usr/local/cargo/bin/rustup >> ${GITHUB_PATH}
export PATH=/usr/local/cargo/bin/rustup:/root/.cargo/bin:${PATH}
setup: |
pnpm install
rustup show active-toolchain
dirname $(rustup which cargo) >> ${GITHUB_PATH}
pnpm install
- host: ubuntu-latest
target: "aarch64-unknown-linux-musl"
Expand All @@ -65,6 +69,7 @@ jobs:
export PATH=/aarch64-linux-musl-cross/bin:/usr/local/cargo/bin/rustup:/root/.cargo/bin:${PATH}
rustup show active-toolchain
rustup target add aarch64-unknown-linux-musl
dirname $(rustup which cargo) >> ${GITHUB_PATH}
pnpm install
rust_env: CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER=/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc RUSTFLAGS="-Ctarget-feature=-crt-static"

Expand Down

0 comments on commit 949426b

Please sign in to comment.