Skip to content

Commit

Permalink
Change set-output call to storing variable in GITHUB_OUTPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
MercymeIlya committed Jan 10, 2023
1 parent 082c095 commit 3c95e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ runs:
--header 'content-type: application/json' \
"${{ github.api_url }}/repos/${{ github.repository }}/actions/workflows/${{ env.WORKFLOW_ID }}/runs?per_page=1&status=completed&branch=${{ env.BRANCH_NAME }}" \
| jq -r .workflow_runs[0].conclusion)
echo "::set-output name=last_status::$last_status"
echo "last_status=$last_status" >> $GITHUB_OUTPUT
echo "Status of the previous build: $last_status"

0 comments on commit 3c95e18

Please sign in to comment.