Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions workflow to automate release creation on tagged pushes #7209

Merged
merged 8 commits into from
Sep 30, 2024
Prev Previous commit
Next Next commit
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.
YidiDev committed Sep 27, 2024
commit a20178fc6e12dc328ba1a4a2baeb6ad7eb133651
3 changes: 2 additions & 1 deletion .github/workflows/release-on-tag.yml
Original file line number Diff line number Diff line change
@@ -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'