Fix PATH environment for cargo command
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
This commit is contained in:
parent
5272b308f7
commit
29a87e3694
1 changed files with 1 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ env:
|
||||||
CARGO_BUILD_JOBS: 8
|
CARGO_BUILD_JOBS: 8
|
||||||
RUSTC_WRAPPER: sccache
|
RUSTC_WRAPPER: sccache
|
||||||
CARGO_TARGET_DIR: /home/gbuser/workspace/botserver-target
|
CARGO_TARGET_DIR: /home/gbuser/workspace/botserver-target
|
||||||
|
PATH: /home/gbuser/.cargo/bin:/home/gbuser/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -16,7 +17,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: |
|
run: |
|
||||||
export PATH="/home/gbuser/.cargo/bin:/home/gbuser/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:$PATH"
|
|
||||||
sccache --start-server 2>/dev/null || true
|
sccache --start-server 2>/dev/null || true
|
||||||
|
|
||||||
- name: Clone and Build
|
- name: Clone and Build
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue