From a20178fc6e12dc328ba1a4a2baeb6ad7eb133651 Mon Sep 17 00:00:00 2001 From: Yidi Date: Thu, 26 Sep 2024 21:22:23 -0400 Subject: [PATCH] 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. --- .github/workflows/release-on-tag.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml index 5a65a969..7797d666 100644 --- a/.github/workflows/release-on-tag.yml +++ b/.github/workflows/release-on-tag.yml @@ -8,6 +8,7 @@ on: jobs: create_release: runs-on: ubuntu-latest + steps: - name: Check if Release Exists id: check_release @@ -28,7 +29,7 @@ jobs: throw error } } - result-encoding: string + outputs: release_exists - name: Create Release if: steps.check_release.outputs.release_exists == 'false'