Skip to content

Commit

Permalink
Change shared action
Browse files Browse the repository at this point in the history
  • Loading branch information
Wes Biggs committed Oct 14, 2024
1 parent 21a54d7 commit 02d0b04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/common/set-up-mdbook/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@ runs:
using: "composite"
steps:
- name: Setup mdBook 📚
uses: jontze/action-mdbook@0765bef0c7c5792f93bf3ed3d487a0ca32c9da33
with:
token: ${{ inputs.token }}
mdbook-version: "~0.4.37" # Use a semver compatible string
# Optional Plugins have to be enabled
use-linkcheck: true
linkcheck-version: "~0.7.7"

run: cargo install mdbook mdbook-linkcheck mdbook-external-links
- name: Show mdbook version
shell: bash
run: mdbook --version
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/verify-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
run: npm run lint

- name: Set up mdBook 📚
run: cargo install mdbook mdbook-linkcheck mdbook-external-links
uses: ./.github/workflows/common/set-up-mdbook
with:
token: ${{secrets.GITHUB_TOKEN}}

- name: Build mdBook 📚
run: mdbook build

0 comments on commit 02d0b04

Please sign in to comment.