docs: replace set-output with GITHUB_OUTPUT

close https://github.com/peaceiris/actions-hugo/issues/633
This commit is contained in:
Shohei Ueda 2023-05-05 23:18:27 +09:00 committed by GitHub
parent 7c4b9f1f99
commit 3d92e2fd55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,7 +185,7 @@ Next, add a step to read a Hugo version from the `.env` file.
id: hugo-version
run: |
. ./.env
echo "::set-output name=HUGO_VERSION::${HUGO_VERSION}"
echo "HUGO_VERSION=${HUGO_VERSION}" >> "${GITHUB_OUTPUT}"
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2