Update git/checkout/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 14:49:40 +00:00
parent d9c162e4b1
commit 030e19af3b

View File

@ -8,6 +8,4 @@ runs:
- name: Checkout repository - name: Checkout repository
uses: docker://alpine/git:latest uses: docker://alpine/git:latest
with: with:
args: | args: -v $GITHUB_WORKSPACE:/root clone "https://$GITHUB_TOKEN@$(echo \"$GITHUB_SERVER_URL\" | sed 's%https://%%')/$GITHUB_REPOSITORY.git" .
-v $GITHUB_WORKSPACE:/root
clone --branch "$GITHUB_REF_NAME" "https://$GITHUB_TOKEN@$(echo \"$GITHUB_SERVER_URL\" | sed 's%https://%%')/$GITHUB_REPOSITORY.git" .