Update git/checkout/action.yaml
This commit is contained in:
parent
44fe4e11d0
commit
e12ac95c92
@ -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 /cache/${{ github.workspace }}:/git
|
options: -v /mnt/swarm/gitea/runner/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