diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 1fbcdb9..9bb1240 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -45,6 +45,11 @@ jobs: - name: Tag release run: | + # Set Git user for the GitHub Actions runner + git config user.name "github-actions" + git config user.email "github-actions@github.com" + + # Create the tag and push it to GitHub $VERSION_NAME = "${env:VERSION} ${env:NAME}" git tag -a "v${env:VERSION}" -m "Release $VERSION_NAME" # Tag the release with version number and name git push origin "v${env:VERSION}" # Push the tag to GitHub