diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 4b0f26d..d59cfc1 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -36,9 +36,10 @@ jobs: && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\" - name: Setting commit message - run: echo "COMMIT_MSG=$(git log -1 --pretty=%B)" >> "$GITHUB_ENV" && echo "COMMIT MESSAGE IS `$COMMIT_MSG`" + 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 "${{ env.COMMIT_MESSAGE }}" + run: echo "${{ steps.commit-message.outputs.COMMIT_MESSAGE }}" # Create a release for this specific version - name: Update Release with Files @@ -48,4 +49,4 @@ jobs: files: |- ./dist/module.json ./dist/module.zip - body: ${{ env.COMMIT_MESSAGE }} \ No newline at end of file + body: ${{ steps.commit-message.outputs.COMMIT_MESSAGE }} \ No newline at end of file