Update .github/workflows/test.yaml
All checks were successful
Workflow Test / Step One (push) Successful in 2s

This commit is contained in:
Zakary Timson 2023-08-07 00:24:49 +00:00
parent f6a178bbb1
commit e28b2558fb

View File

@ -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