Ensure git has a user set up for builds

python-venv script needs git now—because pip install . requires that the checkout has a git tag to tell it what version it is building lol
This commit is contained in:
Max Howell 2023-02-27 09:25:33 -05:00
parent e9c6d16019
commit 0a7f2d6bf1
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC

View file

@ -45,6 +45,9 @@ jobs:
if: fromJson(needs.get-platform.outputs.build-os) == 'macos-11' if: fromJson(needs.get-platform.outputs.build-os) == 'macos-11'
run: sudo mv /usr/local/bin/* /tmp/ run: sudo mv /usr/local/bin/* /tmp/
# some build pieces fail if git has no user
- uses: fregante/setup-git-user@v1
- run: pkg build ${{ inputs.projects }} - run: pkg build ${{ inputs.projects }}
id: build id: build
env: env: