The action doesn’t create the file if not exist

Refs https://github.com/fregante/setup-git-user/issues/9
This commit is contained in:
Max Howell 2023-02-27 09:42:45 -05:00
parent 0a7f2d6bf1
commit 0d6b087c50
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC

View file

@ -46,7 +46,10 @@ jobs:
run: sudo mv /usr/local/bin/* /tmp/ run: sudo mv /usr/local/bin/* /tmp/
# some build pieces fail if git has no user # some build pieces fail if git has no user
- uses: fregante/setup-git-user@v1 - name: setup git user.name etc.
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
- run: pkg build ${{ inputs.projects }} - run: pkg build ${{ inputs.projects }}
id: build id: build