From: Steve Myers Date: Mon, 12 Apr 2021 17:33:54 +0000 (-0700) Subject: [ci] Update 'Build docs' job to use nightly-2021-03-23 X-Git-Tag: v0.6.0~4^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.OutOfRangeError.html?a=commitdiff_plain;h=237a8d4e69b449d8e9112279929d22c994b0224d;p=bdk [ci] Update 'Build docs' job to use nightly-2021-03-23 --- diff --git a/.github/workflows/nightly_docs.yml b/.github/workflows/nightly_docs.yml index d88593fa..0306cff1 100644 --- a/.github/workflows/nightly_docs.yml +++ b/.github/workflows/nightly_docs.yml @@ -17,17 +17,14 @@ jobs: ~/.cargo/git target key: nightly-docs-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }} - - name: Install nightly toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: nightly - override: true + - name: Set default toolchain + run: rustup default nightly-2021-03-23 + - name: Set profile + run: rustup set profile minimal + - name: Update toolchain + run: rustup update - name: Build docs - uses: actions-rs/cargo@v1 - with: - command: rustdoc - args: --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs -Dwarnings + run: cargo rustdoc --verbose --features=compiler,electrum,esplora,compact_filters,key-value-db,all-keys -- --cfg docsrs -Dwarnings - name: Upload artifact uses: actions/upload-artifact@v2 with: