From d0101c9666f6237efaeef4ddb2cd631fea437d02 Mon Sep 17 00:00:00 2001 From: Anthony Correa Date: Fri, 7 Feb 2025 09:55:18 -0600 Subject: [PATCH] Update workflow to use environment variables - 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. --- .gitea/workflows/main.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index d59cfc1..cf0d8b4 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -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