Update git/checkout/action.yaml
This commit is contained in:
parent
994223f01d
commit
9ed954ffe1
@ -11,6 +11,6 @@ runs:
|
||||
image: alpine/git:latest
|
||||
options: -v ${{ github.workspace }}:/root
|
||||
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" "$URL" .
|
||||
|
Loading…
Reference in New Issue
Block a user