Compare commits

..

2 Commits

Author SHA1 Message Date
d0101c9666 Update workflow to use environment variables
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.
2025-02-07 09:55:18 -06:00
fc88596821 20250207.095231
All checks were successful
Release Creation / build (release) Successful in 26s
2025-02-07 09:52:31 -06:00

View File

@@ -36,9 +36,8 @@ jobs:
&& echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\" && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
- name: Setting commit message - name: Setting commit message
run: echo "COMMIT_MSG=$(git log -1 --pretty=%B)" >> "$GITHUB_ENV" && echo "COMMIT MESSAGE IS `$COMMIT_MSG`" id: commit-message
- name: Retrieve commit message run: COMMIT_MESSAGE=$(git log -1 --pretty=%B); echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> "$GITHUB_OUTPUT" && echo "commit message is '$COMMIT_MESSAGE'"
run: echo "${{ env.COMMIT_MESSAGE }}"
# Create a release for this specific version # Create a release for this specific version
- name: Update Release with Files - name: Update Release with Files
@@ -48,4 +47,4 @@ jobs:
files: |- files: |-
./dist/module.json ./dist/module.json
./dist/module.zip ./dist/module.zip
body: ${{ env.COMMIT_MESSAGE }} body: ${{ steps.commit-message.outputs.COMMIT_MESSAGE }}