From af25e797e9c6edc9a226495b21bc69dd72d9c978 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 3 Nov 2022 14:25:41 -0400 Subject: [PATCH] Replace deprecated github actions ::set-output Signed-off-by: Sebastian Malton --- .github/workflows/main.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2fa32efc65..9f1ff6ab50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -88,7 +88,7 @@ jobs: - name: Get the release version if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - name: mkdocs deploy new release if: contains(github.ref, 'refs/tags/v') && !github.event.release.prerelease diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7880506bf..6ce4637140 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,7 @@ jobs: - name: Get yarn cache directory path id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" + run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - uses: actions/cache@v2 id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)