Update .github/workflows/test.yaml
All checks were successful
Workflow Test / Step One (push) Successful in 2s
All checks were successful
Workflow Test / Step One (push) Successful in 2s
This commit is contained in:
parent
f6a178bbb1
commit
e28b2558fb
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@ -9,8 +9,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- run: echo "$GITHUB_SERVER_URL"
|
- run: echo "$GITHUB_SERVER_URL"
|
||||||
- run: |
|
- run: |
|
||||||
URL=$(echo "$GITHUB_SERVER_URL" | sed 's%://%$GITHUB_TOKEN@://%')
|
HOST=$(echo "$GITHUB_SERVER_URL" | sed 's%https?://%%')
|
||||||
echo "$URL/$GITHUB_REPOSITORY.git"
|
echo "https://test@$HOST/${{ GITHUB_REPOSITORY }}.git"
|
||||||
git clone "$URL/$GITHUB_REPOSITORY.git"
|
|
||||||
git switch $GITHUB_REF
|
|
||||||
- run: ls
|
- run: ls
|
||||||
|
Loading…
Reference in New Issue
Block a user