Skip to content

Commit f914174

Browse files
authored
Use rustup
1 parent 7fcefff commit f914174

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

‎.github/workflows/docs.yml‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,13 @@ permissions:
1010
pages: write
1111
id-token: write
1212

13-
concurrency:
14-
group: pages
15-
cancel-in-progress: false
16-
1713
jobs:
1814
build:
1915
runs-on: ubuntu-latest
20-
env:
21-
MDBOOK_VERSION: 0.5.4
2216
steps:
2317
- uses: actions/checkout@v4
2418
- name: Install mdbook
25-
run: |
26-
mkdir -p "$HOME/.local/bin"
27-
curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz" \
28-
| tar -xz -C "$HOME/.local/bin"
29-
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
19+
run: cargo install mdbook
3020
- name: Build book
3121
run: mdbook build docs
3222
- uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)