Update .github/workflows/test.yaml
This commit is contained in:
parent
032f7469b8
commit
624bc8cb49
1
.github/workflows/test.yaml
vendored
1
.github/workflows/test.yaml
vendored
@ -10,6 +10,7 @@ jobs:
|
|||||||
- run: echo "$GITHUB_SERVER_URL"
|
- run: echo "$GITHUB_SERVER_URL"
|
||||||
- run: |
|
- run: |
|
||||||
URL=$(echo "$GITHUB_SERVER_URL" | sed 's%://%$GITHUB_TOKEN@://%')
|
URL=$(echo "$GITHUB_SERVER_URL" | sed 's%://%$GITHUB_TOKEN@://%')
|
||||||
|
echo "$URL/$GITHUB_REPOSITORY.git"
|
||||||
git clone "$URL/$GITHUB_REPOSITORY.git"
|
git clone "$URL/$GITHUB_REPOSITORY.git"
|
||||||
git switch $GITHUB_REF
|
git switch $GITHUB_REF
|
||||||
- run: ls
|
- run: ls
|
||||||
|
Loading…
Reference in New Issue
Block a user