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 }}