Skip to content

Commit 7108f66

Browse files
committed
Fix scope of env var
1 parent ede16cf commit 7108f66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
echo "LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
4343
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
4444
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
45+
echo "RUST_COMPILER_RT_ROOT="${{ env.workspace }}/llvm/compiler-rt >> $GITHUB_ENV
4546
4647
# https://github.com/actions/cache/issues/133
4748
- name: Fixup owner of ~/.cargo/
@@ -73,8 +74,6 @@ jobs:
7374
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
7475

7576
- name: Build
76-
env:
77-
RUST_COMPILER_RT_ROOT: ${{ env.workspace }}/llvm/compiler-rt
7877
run: |
7978
ls /home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/llvm
8079
echo Workspace ${{ env.workspace }}

0 commit comments

Comments
 (0)