Update git/checkout/action.yaml
This commit is contained in:
parent
7f0db9a9b5
commit
fa91a7bbc1
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user