build: change set-output to env vars #348

This commit is contained in:
Sören Weber 2022-11-04 23:34:14 +01:00
parent 3541024573
commit 07fe4f5c73
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -56,9 +56,9 @@ runs:
shell: bash shell: bash
run: | run: |
if [ "${{ fromJSON(steps.closed_issues.outputs.data).search.issueCount > 0 && fromJSON(steps.open_issues.outputs.data).search.issueCount == 0 && steps.unique_tag.outputs.exists == 'false' }}" = "true" ]; then if [ "${{ fromJSON(steps.closed_issues.outputs.data).search.issueCount > 0 && fromJSON(steps.open_issues.outputs.data).search.issueCount == 0 && steps.unique_tag.outputs.exists == 'false' }}" = "true" ]; then
echo "::set-output name=outcome::success" echo "outcome=success" >> $GITHUB_OUTPUT
else else
echo "::set-output name=outcome::failure" echo "outcome=failure" >> $GITHUB_OUTPUT
fi fi
- name: Log results and exit - name: Log results and exit