Skip to content

Commit

Permalink
docs: bump to v2 from v1
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Apr 8, 2024
1 parent 16e5a1b commit dddded6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v2

- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.10'
# mdbook-version: 'latest'
Expand Down Expand Up @@ -106,7 +106,7 @@ Set `mdbook-version: 'latest'` to use the latest version of mdBook.

```yaml
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: 'latest'
```
Expand Down Expand Up @@ -141,7 +141,7 @@ Next, add a step to read a mdBook version from the `.env` file.
echo "::set-output name=MDBOOK_VERSION::${MDBOOK_VERSION}"
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '${{ steps.mdbook-version.outputs.MDBOOK_VERSION }}'
```
Expand Down

0 comments on commit dddded6

Please sign in to comment.