mirror of https://github.com/tiangolo/fastapi.git
💚 Fix/workaround GitHub Actions in Docker with git for FastAPI People (#9169)
This commit is contained in:
parent
be54d44b0c
commit
a8bde44029
|
|
@ -15,6 +15,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
# Ref: https://github.com/actions/runner/issues/2033
|
||||||
|
- name: Fix git safe.directory in container
|
||||||
|
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
|
||||||
# Allow debugging with tmate
|
# Allow debugging with tmate
|
||||||
- name: Setup tmate session
|
- name: Setup tmate session
|
||||||
uses: mxschmitt/action-tmate@v3
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue