Skip to content

Commit 237a8d4

Browse files
committed
[ci] Update 'Build docs' job to use nightly-2021-03-23
1 parent 1929654 commit 237a8d4

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/nightly_docs.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,14 @@ jobs:
1717
~/.cargo/git
1818
target
1919
key: nightly-docs-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
20-
- name: Install nightly toolchain
21-
uses: actions-rs/toolchain@v1
22-
with:
23-
profile: minimal
24-
toolchain: nightly
25-
override: true
20+
- name: Set default toolchain
21+
run: rustup default nightly-2021-03-23
22+
- name: Set profile
23+
run: rustup set profile minimal
24+
- name: Update toolchain
25+
run: rustup update
2626
- name: Build docs
27-
uses: actions-rs/cargo@v1
28-
with:
29-
command: rustdoc
30-
args: --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs -Dwarnings
27+
run: cargo rustdoc --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs -Dwarnings
3128
- name: Upload artifact
3229
uses: actions/upload-artifact@v2
3330
with:

0 commit comments

Comments
 (0)