Skip to content

Commit 8f7cd72

Browse files
committed
Fix scope of env var
1 parent ede16cf commit 8f7cd72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
echo "LD_LIBRARY_PATH=$(cat gcc_path)" >> $GITHUB_ENV
4444
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
4545
46+
- name: Set RUST_COMPILER_RT_ROOT
47+
run: echo "RUST_COMPILER_RT_ROOT="${{ env.workspace }}/llvm/compiler-rt >> $GITHUB_ENV
48+
4649
# https://github.com/actions/cache/issues/133
4750
- name: Fixup owner of ~/.cargo/
4851
# Don't remove the trailing /. It is necessary to follow the symlink.
@@ -73,8 +76,6 @@ jobs:
7376
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
7477

7578
- name: Build
76-
env:
77-
RUST_COMPILER_RT_ROOT: ${{ env.workspace }}/llvm/compiler-rt
7879
run: |
7980
ls /home/runner/work/rustc_codegen_gcc/rustc_codegen_gcc/llvm
8081
echo Workspace ${{ env.workspace }}

0 commit comments

Comments
 (0)