fix: Explicitly disable sccache in CI workflows
The forgejo-runner service inherits RUSTC_WRAPPER=sccache from systemd environment. Set RUSTC_WRAPPER="" in workflow env to override and prevent permission denied errors.
This commit is contained in:
parent
4380b39ac5
commit
a4834081b8
4 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
env:
|
env:
|
||||||
CARGO_TARGET_DIR: /opt/gbo/work/target
|
CARGO_TARGET_DIR: /opt/gbo/work/target
|
||||||
|
RUSTC_WRAPPER: ""
|
||||||
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
env:
|
env:
|
||||||
CARGO_TARGET_DIR: /opt/gbo/work/target
|
CARGO_TARGET_DIR: /opt/gbo/work/target
|
||||||
|
RUSTC_WRAPPER: ""
|
||||||
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
env:
|
env:
|
||||||
CARGO_TARGET_DIR: /opt/gbo/work/target
|
CARGO_TARGET_DIR: /opt/gbo/work/target
|
||||||
|
RUSTC_WRAPPER: ""
|
||||||
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
env:
|
env:
|
||||||
CARGO_TARGET_DIR: /opt/gbo/work/target
|
CARGO_TARGET_DIR: /opt/gbo/work/target
|
||||||
|
RUSTC_WRAPPER: ""
|
||||||
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
PATH: /home/gbuser/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue