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:
|
||||
- run: echo "$GITHUB_SERVER_URL"
|
||||
- run: |
|
||||
URL=$(echo "$GITHUB_SERVER_URL" | sed 's%://%$GITHUB_TOKEN@://%')
|
||||
echo "$URL/$GITHUB_REPOSITORY.git"
|
||||
git clone "$URL/$GITHUB_REPOSITORY.git"
|
||||
git switch $GITHUB_REF
|
||||
HOST=$(echo "$GITHUB_SERVER_URL" | sed 's%https?://%%')
|
||||
echo "https://test@$HOST/${{ GITHUB_REPOSITORY }}.git"
|
||||
- run: ls
|
||||
|
Loading…
Reference in New Issue
Block a user