Skip to content

Commit 4d83b0b

Browse files
committed
CI: Update preview job to include test links
1 parent 603ab3d commit 4d83b0b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/main.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ jobs:
109109
runs-on: ubuntu-latest
110110
steps:
111111
- uses: actions/checkout@master
112+
- name: Checkout rust-lang/rust
113+
uses: actions/checkout@master
114+
with:
115+
repository: rust-lang/rust
116+
path: rust
112117
- name: Update rustup
113118
run: rustup self update
114119
- name: Install Rust
@@ -123,7 +128,8 @@ jobs:
123128
echo "$(pwd)/bin" >> $GITHUB_PATH
124129
- name: Build the book
125130
env:
126-
SPEC_RELATIVE: 0
131+
SPEC_RELATIVE: 0
132+
SPEC_RUST_ROOT: ${{ github.workspace }}/rust
127133
run: mdbook build --dest-dir dist/preview-${{ github.event.pull_request.number }}
128134
- name: Upload artifact
129135
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)