Skip to content

Commit d9ed21e

Browse files
committed
env
1 parent b298c58 commit d9ed21e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on: [push, pull_request]
44
env:
55
RUSTDOCFLAGS: -Dwarnings
66
RUSTFLAGS: -Dwarnings
7-
RUST_COMPILER_RT_ROOT: ./compiler-rt
87

98
jobs:
109
test:
@@ -131,7 +130,9 @@ jobs:
131130
key: ${{ runner.os }}-compiler-rt-${{ hashFiles('ci/download-compiler-rt.sh') }}
132131
- name: Download compiler-rt reference sources
133132
if: steps.cache-compiler-rt.outputs.cache-hit != 'true'
134-
run: ./ci/download-compiler-rt.sh
133+
run: |
134+
./ci/download-compiler-rt.sh
135+
echo "RUST_COMPILER_RT_ROOT=$(realpath ./compiler-rt)" >> "$GITHUB_ENV"
135136
shell: bash
136137

137138
# Non-linux tests just use our raw script

0 commit comments

Comments
 (0)