Update git/checkout/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 15:04:27 +00:00
parent fa91a7bbc1
commit 44fe4e11d0

View File

@ -9,7 +9,7 @@ runs:
uses: addnab/docker-run-action@v3
with:
image: alpine/git:latest
options: -v ${{ github.workspace }}:/git
options: -v /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" .