Update git/checkout/action.yaml
This commit is contained in:
parent
9ed954ffe1
commit
29f18e6db6
@ -12,5 +12,5 @@ runs:
|
||||
options: -v ${{ github.workspace }}:/root
|
||||
run: |
|
||||
HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%')
|
||||
URL="https://$GITHUB_TOKEN@$HOST/$GITHUB_REPOSITORY.git"
|
||||
git clone -b "$GITHUB_REF_NAME" "$URL" .
|
||||
URL="https://${{ github.token }}@$HOST/${{ github.repository }}.git"
|
||||
git clone -b "${{ github.ref_name }}" "$URL" .
|
||||
|
Loading…
Reference in New Issue
Block a user