fix(workflow): correct output handling in release-on-tag.yml

Corrected the output handling in the 'release-on-tag.yml' workflow file
by changing 'result-encoding' to 'outputs'. This ensures that the step
correctly checks if a release exists before attempting to create a new
one, thereby avoiding potential errors during the release process.
Added a blank line for better readability.
This commit is contained in:
Yidi 2024-09-26 21:22:23 -04:00
parent 1ff25f9d33
commit a20178fc6e

View File

@ -8,6 +8,7 @@ on:
jobs: jobs:
create_release: create_release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check if Release Exists - name: Check if Release Exists
id: check_release id: check_release
@ -28,7 +29,7 @@ jobs:
throw error throw error
} }
} }
result-encoding: string outputs: release_exists
- name: Create Release - name: Create Release
if: steps.check_release.outputs.release_exists == 'false' if: steps.check_release.outputs.release_exists == 'false'