mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 06:50:31 +00:00
ci: use github-runner own rust toolchain instead of ai-user path
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -17,11 +17,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Rust
|
||||
run: echo "/home/ai-user/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin" >> $GITHUB_PATH
|
||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
|
||||
- name: Build release binary
|
||||
run: |
|
||||
RUSTUP_HOME=/home/ai-user/.rustup cargo build --release --package nora-registry
|
||||
cargo build --release --package nora-registry
|
||||
cp target/release/nora ./nora
|
||||
|
||||
- name: Upload binary
|
||||
|
||||
Reference in New Issue
Block a user