Compare commits

..

1 Commits

Author SHA1 Message Date
Razon Yang
b5ca8e098c
Merge 0788e01ecf into 1b06a03d21 2024-04-02 18:17:28 +02:00

View File

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