Update workflow to use environment variables
Some checks failed
Release Creation / build (release) Failing after 23s
Some checks failed
Release Creation / build (release) Failing after 23s
- The workflow has been updated to use environment variables instead of hardcoded values. - This change improves the flexibility and maintainability of the workflow. - The changes include using `$GITHUB_OUTPUT` to store the commit message and `$COMMIT_MESSAGE` to retrieve it.
This commit is contained in:
@@ -38,8 +38,6 @@ jobs:
|
||||
- name: Setting commit message
|
||||
id: commit-message
|
||||
run: COMMIT_MESSAGE=$(git log -1 --pretty=%B); echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> "$GITHUB_OUTPUT" && echo "commit message is '$COMMIT_MESSAGE'"
|
||||
- name: Retrieve commit message
|
||||
run: echo "${{ steps.commit-message.outputs.COMMIT_MESSAGE }}"
|
||||
|
||||
# Create a release for this specific version
|
||||
- name: Update Release with Files
|
||||
|
||||
Reference in New Issue
Block a user