Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
/ setup-mdbook Public archive

📖 GitHub Action to install mdBook

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

extractions/setup-mdbook

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No longer maintained

Use setup-crate instead. For example:

- uses: extractions/setup-crate@v1
  with:
    owner: rust-lang
    name: mdBook

setup-mdbook action

build

This GitHub Action will install the latest release of mdBook for you.

Usage

Inputs

Name Required Description Type Default
mdbook-version no A valid NPM-style semver specification. string *

The semver specification is passed directly to NPM's semver package. This GitHub Action will install the latest matching release. Examples include

  • mdbook-version: '*' latest version (default).
  • mdbook-version: '0.4' equivalent to >=0.4.0 <0.5.0.
  • mdbook-version: '0.4.x' equivalent to >=0.4.0 <0.5.0.
  • mdbook-version: '0.4.6' equivalent to =0.4.6.
  • mdbook-version: '^0.4.6' equivalent to >=0.4.6 <0.5.0.

Basic example

Add the following to your workflow.

- uses: extractions/setup-mdbook@v1
  with:
    mdbook-version: 0.4
  env:
    # this is not required but add it if you get any rate limiting issues
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

License

Licensed under either of

at your option.