Use actions-rs to install nightly rust.
This commit is contained in:
parent
e78048e16a
commit
acabbece8f
|
|
@ -13,10 +13,15 @@ jobs:
|
|||
steps:
|
||||
|
||||
- uses: actions/checkout@master
|
||||
- name: Cargo doc
|
||||
- name: Install latest nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: Build docs
|
||||
run: |
|
||||
cargo +nightly doc --no-deps
|
||||
- name: GitHub Action for Firebase
|
||||
cargo doc --no-deps
|
||||
- name: Deploy to firebase
|
||||
uses: w9jds/firebase-action@v1.1.0
|
||||
with:
|
||||
args: deploy
|
||||
|
|
|
|||
Loading…
Reference in New Issue