Skip to content

Commit

Permalink
fix(doc): Update @v2 to @v3 in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd authored Apr 6, 2024
1 parent 1b06a03 commit b548e08
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
# extended: true
Expand Down Expand Up @@ -121,7 +121,7 @@ Set `extended: true` to use a Hugo extended version.

```yaml
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
extended: true
Expand All @@ -133,7 +133,7 @@ Set `hugo-version: 'latest'` to use the latest version of Hugo.
```yaml
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
```
Expand Down Expand Up @@ -190,7 +190,7 @@ Next, add a step to read a Hugo version from the `.env` file.
echo "HUGO_VERSION=${HUGO_VERSION}" >> "${GITHUB_OUTPUT}"
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '${{ steps.hugo-version.outputs.HUGO_VERSION }}'
extended: true
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
extended: true
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
extended: true
Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
run: git config core.quotePath false
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
```
Expand Down

0 comments on commit b548e08

Please sign in to comment.