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:08:49 +00:00
parent 27f7171aa3
commit 3e9ca97f1d

View File

@ -7,9 +7,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: alpine/git container: alpine/git
steps: steps:
- 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}}" echo "$URL/${{GITHUB_REPOSITORY}}"
git clone "$URL/${{GITHUB_REPOSITORY}}"
git switch ${{GITHUB_REF}}
- run: ls - run: ls