This commit is contained in:
KaiserY 2022-02-06 17:00:24 +08:00
commit 881c440e8b

View File

@ -20,12 +20,12 @@ jobs:
- name: Install Rust - name: Install Rust
run: | run: |
rustup set profile minimal rustup set profile minimal
rustup toolchain install 1.52 -c rust-docs rustup toolchain install 1.58 -c rust-docs
rustup default 1.52 rustup default 1.58
- name: Install mdbook - name: Install mdbook
run: | run: |
mkdir bin mkdir bin
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.14/mdbook-v0.4.14-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> ${GITHUB_PATH} echo "$(pwd)/bin" >> ${GITHUB_PATH}
- name: Report versions - name: Report versions
run: | run: |
@ -41,4 +41,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book publish_dir: ./book
force_orphan: true force_orphan: true
enable_jekyll: true enable_jekyll: true