diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 5bb96bd..802d038 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -35,12 +35,19 @@ jobs: && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\" - - name: Setting commit message + - name: Setting commit message variable id: commit-message - run: > - COMMIT_MESSAGE=$(git log -1 --pretty=%B); - echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> "$GITHUB_OUTPUT" - && echo "commit message is '$COMMIT_MESSAGE'" + # Per + # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#example-of-a-multiline-string + run: | + { + echo 'COMMIT_MESSAGE<> "$GITHUB_OUTPUT" + + - name: retreive commit message + run: echo "commit message is ${{ steps.commit-message.outputs.COMMIT_MESSAGE }}" # Create a release for this specific version - name: Update Release with Files diff --git a/.secrets b/.secrets index 0dcc523..e69de29 100644 --- a/.secrets +++ b/.secrets @@ -1,2 +0,0 @@ -TEST=123 -GITHUB_TOKEN=90b74545400305cb379a38d2c442d29d3aa911a4 \ No newline at end of file