From 8a7ec38b6ee57f4a9fb73411b4b3d63db4da717b Mon Sep 17 00:00:00 2001 From: Joe Swantek Date: Wed, 11 Jan 2023 15:40:47 -0600 Subject: [PATCH] SAGE-1543: fix GitHub workflow warnings --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cd0eed..1ff47f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: runs-on: self-hosted steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 # checkout all git history @@ -54,11 +54,11 @@ jobs: run: | if [ ${{ steps.download_overlay_cache.outcome }} == 'skipped' ]; then echo "Cache step skipped, use current repo as working directory" - echo ::set-output name=workdir::. + echo "workdir=." >> $GITHUB_OUTPUT else if [ ${{ steps.download_overlay_cache.outputs.cache-hit }} == 'true' ]; then echo "Overlay cache found, use cache [$workdir] as working directory" - echo ::set-output name=workdir::$workdir + echo "workdir=$workdir" >> $GITHUB_OUTPUT else echo "Overlay cache expected but not found. Exit" exit 1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40c43ba..117cea8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,11 +48,11 @@ jobs: run: | if [ ${{ steps.download_overlay_cache.outcome }} == 'skipped' ]; then echo "Cache step skipped, use current repo as working directory" - echo ::set-output name=workdir::. + echo "workdir=." >> $GITHUB_OUTPUT else if [ ${{ steps.download_overlay_cache.outputs.cache-hit }} == 'true' ]; then echo "Overlay cache found, use cache [$workdir] as working directory" - echo ::set-output name=workdir::$workdir + echo "workdir=$workdir" >> $GITHUB_OUTPUT else echo "Overlay cache expected but not found. Exit" exit 1