From 9646f0bdc88a49713fc1829a35b0ba5a50295a61 Mon Sep 17 00:00:00 2001 From: Jongwoo Han Date: Wed, 14 Aug 2024 16:26:56 +0900 Subject: [PATCH] Replace deprecated command with environment file (#393) Signed-off-by: Jongwoo Han --- .github/workflows/main.yml | 2 +- .github/workflows/portal.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cfd9faa3..a9fb4803 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,7 +31,7 @@ jobs: id: getcommit run: | prsha=$(echo $response | jq '.[-1].sha' | tr -d '"') - echo "::set-output name=sha::$prsha" + echo "sha=$prsha" >> $GITHUB_OUTPUT env: response: ${{ steps.get_PR_commits.outputs.data }} diff --git a/.github/workflows/portal.yml b/.github/workflows/portal.yml index bb970e3a..3db967cf 100644 --- a/.github/workflows/portal.yml +++ b/.github/workflows/portal.yml @@ -31,7 +31,7 @@ jobs: id: getcommit run: | prsha=$(echo $response | jq '.[-1].sha' | tr -d '"') - echo "::set-output name=sha::$prsha" + echo "sha=$prsha" >> $GITHUB_OUTPUT env: response: ${{ steps.get_PR_commits.outputs.data }}