From 03e23943bf4ad499ef8d060465bfa72b059cfc29 Mon Sep 17 00:00:00 2001 From: EstrellaXD Date: Sun, 24 Sep 2023 13:53:11 +0800 Subject: [PATCH] fix: ci problem. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ef67c6a..0abede97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,6 +31,8 @@ jobs: version-info: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v3 - name: If release id: release run: | @@ -58,7 +60,7 @@ jobs: run: | if [[ '${{ github.event_name }}' == 'pull_request' && ${{ github.event.pull_request.merged }} == true ]]; then echo "version=${{ github.event.pull_request.title }}" >> $GITHUB_OUTPUT - git config --local user.email + git config --local user.email "action@github.com" git config --local user.name "github-actions" git tag ${{ github.event.pull_request.title }} git push origin ${{ github.event.pull_request.title }}