Replace deprecated 'set-output' with '$GITHUB_OUTPUT' (#968)
authorKrishan <33421343+kfiven@users.noreply.github.com>
Wed, 9 Nov 2022 12:46:14 +0000 (18:16 +0530)
committerGitHub <noreply@github.com>
Wed, 9 Nov 2022 12:46:14 +0000 (18:16 +0530)
.github/workflows/deploy-pull-request.yml

index 8cd46714915b35e20d65f75eef0e4b2dde4f5cbb..4381aeccbc3aaecb86a663ae6f1024f725926d4d 100644 (file)
@@ -20,7 +20,7 @@ jobs:
           name: pr
       - name: Output pr number
         id: pr
-        run: echo "::set-output name=id::$(<pr.txt)"
+        run: echo "id=$(<pr.txt)" >> $GITHUB_OUTPUT
       - name: Download artifact
         uses: dawidd6/action-download-artifact@46b4ae883bf0726f5949d025d31cb62c7a5ac70c
         with: