From 35920236aa7d60ceb1b73f4709031b84c375722b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 14 Jul 2023 16:55:53 +0200 Subject: [PATCH] build(ci): silence deprecation warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/clone-count.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clone-count.yml b/.github/workflows/clone-count.yml index b7898a8f..e8595f88 100644 --- a/.github/workflows/clone-count.yml +++ b/.github/workflows/clone-count.yml @@ -28,13 +28,13 @@ jobs: if gh secret list | grep -q "GIST_ID" then echo "GIST_ID found" - echo ::set-output name=GIST::${{ secrets.GIST_ID }} + echo "GIST=${{ secrets.GIST_ID }}" >> $GITHUB_OUTPUT curl https://gist.githubusercontent.com/${{ github.actor }}/${{ secrets.GIST_ID }}/raw/clone.json > clone_before.json if cat clone_before.json | grep '404: Not Found'; then echo "GIST_ID not valid anymore. Creating another gist..." gist_id=$(gh gist create clone.json | awk -F / '{print $NF}') echo $gist_id | gh secret set GIST_ID - echo ::set-output name=GIST::$gist_id + echo "GIST=${gist_id}" >> $GITHUB_OUTPUT cp clone.json clone_before.json git rm --ignore-unmatch CLONE.md fi @@ -42,7 +42,7 @@ jobs: echo "GIST_ID not found. Creating a gist..." gist_id=$(gh gist create clone.json | awk -F / '{print $NF}') echo $gist_id | gh secret set GIST_ID - echo ::set-output name=GIST::$gist_id + echo "GIST=${gist_id}" >> $GITHUB_OUTPUT cp clone.json clone_before.json fi -- 2.34.1