Skip to content

Commit 5e0668d

Browse files
authored
Github actions needs EOF (#59)
1 parent fd41547 commit 5e0668d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ReleaseVersion.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ jobs:
130130
131131
# Get the latest commit message from 'origin/master'
132132
latest_commit=$(git log origin/master -1 --pretty=%B)
133-
echo "commit_message=$latest_commit" >> "$GITHUB_ENV"
133+
134+
# Set the commit_message as an output
135+
echo "commit_message<<EOF" >> "$GITHUB_OUTPUT"
136+
echo "$latest_commit" >> "$GITHUB_OUTPUT"
137+
echo "EOF" >> "$GITHUB_OUTPUT"
138+
134139
135140
- name: Upload Artifact
136141
if: ${{ steps.set_vars.outputs.should_release == 'true' && steps.set_vars.outputs.upload_artifact == 'true' }}

0 commit comments

Comments
 (0)