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
27f7171aa3
commit
3e9ca97f1d
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
@ -7,9 +7,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container: alpine/git
|
||||
steps:
|
||||
- run: echo "${{GITHUB_SERVER_URL}}"
|
||||
- run: |
|
||||
URL=$(echo "${{GITHUB_SERVER_URL}}" | sed 's%://%${{GITHUB_TOKEN}}@://%')
|
||||
echo "$URL/${{GITHUB_REPOSITORY}}"
|
||||
git clone "$URL/${{GITHUB_REPOSITORY}}"
|
||||
git switch ${{GITHUB_REF}}
|
||||
- run: ls
|
||||
|
Loading…
Reference in New Issue
Block a user