Replace deprecated command with environment file (#2429)

Signed-off-by: jongwooo <jongwooo.han@gmail.com>
This commit is contained in:
Jongwoo Han
2023-03-10 12:09:05 +09:00
committed by GitHub
parent 128b212b13
commit 514ecec5a3
2 changed files with 12 additions and 12 deletions

View File

@@ -25,25 +25,25 @@ runs:
- run: exit ${{ inputs.exit-code }}
shell: bash
- run: echo "::set-output name=default::true"
- run: echo "default=true" >> $GITHUB_OUTPUT
id: default-conditional
shell: bash
- run: echo "::set-output name=success::true"
- run: echo "success=true" >> $GITHUB_OUTPUT
id: success-conditional
shell: bash
if: success()
- run: echo "::set-output name=failure::true"
- run: echo "failure=true" >> $GITHUB_OUTPUT
id: failure-conditional
shell: bash
if: failure()
- run: echo "::set-output name=always::true"
- run: echo "always=true" >> $GITHUB_OUTPUT
id: always-conditional
shell: bash
if: always()
- run: echo "failed"
shell: bash
if: ${{ inputs.exit-code == 1 && failure() }}
if: ${{ inputs.exit-code == 1 && failure() }}