mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 10:20:32 +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
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Rust
|
- 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
|
- name: Build release binary
|
||||||
run: |
|
run: |
|
||||||
RUSTUP_HOME=/home/ai-user/.rustup cargo build --release --package nora-registry
|
cargo build --release --package nora-registry
|
||||||
cp target/release/nora ./nora
|
cp target/release/nora ./nora
|
||||||
|
|
||||||
- name: Upload binary
|
- name: Upload binary
|
||||||
|
|||||||
Reference in New Issue
Block a user