Use nightly toolchain in document CI workflow
This commit is contained in:
parent
62677eafc0
commit
02914e5e68
1 changed files with 4 additions and 1 deletions
5
.github/workflows/document.yml
vendored
5
.github/workflows/document.yml
vendored
|
|
@ -10,10 +10,13 @@ jobs:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
steps:
|
steps:
|
||||||
- uses: hecrj/setup-rust-action@v1
|
- uses: hecrj/setup-rust-action@v1
|
||||||
|
with:
|
||||||
|
rust-version: nightly
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Generate documentation
|
- name: Generate documentation
|
||||||
run: |
|
run: |
|
||||||
cargo doc --no-deps --all-features \
|
RUSTDOCFLAGS="--cfg docsrs" \
|
||||||
|
cargo doc --no-deps --all-features \
|
||||||
-p iced_core \
|
-p iced_core \
|
||||||
-p iced_style \
|
-p iced_style \
|
||||||
-p iced_futures \
|
-p iced_futures \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue