Skip to content

Commit 7ca02e7

Browse files
committed
Set conclusion output in the set-output step
1 parent 198b244 commit 7ca02e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update-release-status.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,12 @@ jobs:
115115
--input - \
116116
/repos/$GITHUB_REPOSITORY/check-runs/$CHECK_RUN_ID
117117
118-
echo "conclusion=$conclusion" >> "$GITHUB_OUTPUT"
118+
echo "RELEASE_STATUS_CONCLUSION=$conclusion" >> "$GITHUB_ENV"
119119
120120
- name: Set output
121121
id: set-output
122122
run: |
123+
echo "conclusion=$RELEASE_STATUS_CONCLUSION" >> "$GITHUB_OUTPUT"
123124
if [[ "$CHECK_RUNS_PENDING" == "0" ]]; then
124125
echo "status=completed" >> "$GITHUB_OUTPUT"
125126
else

0 commit comments

Comments
 (0)