diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1749f3f..d00f1f20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,12 +19,12 @@ jobs: - name: Read .env run: | . ./.env - echo "HUGO_VERSION=${HUGO_VERSION}" >> $GITHUB_ENV + echo "HUGO_VERSION=${HUGO_VERSION}" >> "${GITHUB_OUTPUT}" - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: '${{ env.HUGO_VERSION }}' + hugo-version: '${{ steps.hugo-version.outputs.HUGO_VERSION }}' extended: true - name: Setup Node.js