Skip to content

Commit

Permalink
Update pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-skobov authored Jun 24, 2023
1 parent 7a1c28d commit f2db579
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ env:
CARGO_TERM_COLOR: always

jobs:
book_test_and_publish:
test_and_publish_book:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install wasm
run: rustup target add wasm32-unknown-unknown
- name: Install mdbook
run: |
mkdir bin
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.30/mdbook-v0.4.30-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
echo "$(pwd)/bin" >> ${GITHUB_PATH}
- name: Test book
shell: bash
run: cd book && ./test.sh
Expand Down

0 comments on commit f2db579

Please sign in to comment.