fix: ci problem.

This commit is contained in:
EstrellaXD
2023-09-24 13:53:11 +08:00
parent 6e6a316193
commit 03e23943bf

View File

@@ -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 }}