From 84c532ba9666e3840c66b915a48f3a7865c2e9cf Mon Sep 17 00:00:00 2001 From: Joachim Van Herwegen Date: Mon, 12 Dec 2022 11:45:49 +0100 Subject: [PATCH] chore: Fix mkdocs major version issue Includes an update to set-output as that will be deprecated in the future --- .github/workflows/mkdocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index 2d5f2a1e3..755165c7d 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -19,7 +19,7 @@ jobs: # or a push to main to update the latest documentation. runs-on: ubuntu-latest outputs: - major: ${{ steps.tagged_version.outputs.major || steps.current_version.ouputs.major }} + major: ${{ steps.tagged_version.outputs.major || steps.current_version.outputs.major }} steps: - uses: actions/checkout@v3.1.0 - uses: actions/setup-node@v3 @@ -37,7 +37,7 @@ jobs: id: current_version run: | VERSION=$(git show origin/main:package.json | jq -r .version | grep -Po '^(\d+)') - echo "::set-output name=major::$VERSION" + echo "major=$VERSION" >> $GITHUB_OUTPUT mkdocs: runs-on: ubuntu-latest