Update git/checkout/action.yaml
This commit is contained in:
parent
afe9a1e3f4
commit
2436839365
@ -3,8 +3,9 @@ desciption: Checkout repository using alpite/git
|
|||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
container: alpine/git
|
||||||
- run: |
|
steps:
|
||||||
HOST=$(echo "$GITHUB_SERVER_URL" | sed 's%https://%%')
|
- run: |
|
||||||
URL="https://$GITHUB_TOKEN@$HOST/$GITHUB_REPOSITORY.git"
|
HOST=$(echo "$GITHUB_SERVER_URL" | sed 's%https://%%')
|
||||||
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