Update git/checkout/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 15:05:40 +00:00
parent 44fe4e11d0
commit e12ac95c92

View File

@ -9,7 +9,7 @@ runs:
uses: addnab/docker-run-action@v3
with:
image: alpine/git:latest
options: -v /cache/${{ github.workspace }}:/git
options: -v /mnt/swarm/gitea/runner/cache/${{ github.workspace }}:/git
run: |
HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%')
git clone -b "${{ github.ref_name }}" "https://${{ github.token }}@$HOST/${{ github.repository }}.git" .