Update git/checkout/action.yaml
This commit is contained in:
parent
fa91a7bbc1
commit
44fe4e11d0
@ -9,7 +9,7 @@ runs:
|
|||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: alpine/git:latest
|
image: alpine/git:latest
|
||||||
options: -v ${{ github.workspace }}:/git
|
options: -v /cache/${{ github.workspace }}:/git
|
||||||
run: |
|
run: |
|
||||||
HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%')
|
HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%')
|
||||||
git clone -b "${{ github.ref_name }}" "https://${{ github.token }}@$HOST/${{ github.repository }}.git" .
|
git clone -b "${{ github.ref_name }}" "https://${{ github.token }}@$HOST/${{ github.repository }}.git" .
|
||||||
|
Loading…
Reference in New Issue
Block a user