Update git/checkout/action.yaml

This commit is contained in:
Zakary Timson 2023-08-07 15:03:12 +00:00
parent 7f0db9a9b5
commit fa91a7bbc1

View File

@ -12,6 +12,5 @@ runs:
options: -v ${{ github.workspace }}:/git options: -v ${{ github.workspace }}:/git
run: | run: |
HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%') HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%')
URL="https://${{ github.token }}@$HOST/${{ github.repository }}.git" git clone -b "${{ github.ref_name }}" "https://${{ github.token }}@$HOST/${{ github.repository }}.git" .
git clone -b "${{ github.ref_name }}" "$URL" . git status && echo "" && ls
git status && ls