Skip to content
This repository was archived by the owner on Sep 11, 2026. It is now read-only.

Commit df02c11

Browse files
feat(.github): Update release workflow to use file-based body
This commit modifies the GitHub release workflow to read the release body from a file instead of an in-memory variable. It also updates the `action-gh-release` action from `v2` to `v1`. **Key Changes:** * **`.github/workflows/release.yml`**: * The `softprops/action-gh-release` action has been downgraded from `v2` to `v1`. * The `body` input, which previously used a step output, has been replaced with `body_path: release_body.md`. * The `tag_name` and `name` inputs have been explicitly defined. * The `env` block containing the `GITHUB_TOKEN` has been removed, as the action likely handles it implicitly.
1 parent 3d2d03d commit df02c11

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ jobs:
7878
core.setOutput('body', body + issueList);
7979
8080
- name: Create GitHub Release
81-
uses: softprops/action-gh-release@v2
81+
uses: softprops/action-gh-release@v1
8282
with:
83-
body: ${{ steps.generate_body.outputs.body }}
83+
body_path: release_body.md
84+
tag_name: ${{ github.ref_name }}
85+
name: Release ${{ github.ref_name }}
8486
draft: false
85-
prerelease: false
86-
env:
87-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87+
prerelease: false

0 commit comments

Comments
 (0)