Skip to content

Commit 01870d5

Browse files
committed
Fixes release.yaml
Outputs the notes to a file instead of an environment variable.
1 parent e1945c4 commit 01870d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555
5656
if [ -n "$content" ]; then
5757
echo "::notice::Found release notes for ${target_version}"
58-
echo "RELEASE_NOTES=$content" >> $GITHUB_ENV
58+
echo "$content" >> release-notes.md
5959
else
6060
echo "::warning::Did not find release notes for ${target_version}"
61-
echo "RELEASE_NOTES=" >> $GITHUB_ENV
61+
touch release-notes.md
6262
fi
6363
6464
- name: Download packages built by build-and-inspect-python-package
@@ -72,7 +72,7 @@ jobs:
7272
with:
7373
files: dist/*
7474
tag_name: "${{ env.TAG_NAME }}"
75-
body: "${{ env.RELEASE_NOTES }}"
75+
body_path: release-notes.md
7676

7777
# Upload to real PyPI on GitHub Releases.
7878
release-pypi:

0 commit comments

Comments
 (0)