Update .github/workflows/test.yaml
Some checks failed
Workflow Test / Step One (push) Failing after 2s
Some checks failed
Workflow Test / Step One (push) Failing after 2s
This commit is contained in:
parent
7a90e49792
commit
032f7469b8
6
.github/workflows/test.yaml
vendored
6
.github/workflows/test.yaml
vendored
@ -5,5 +5,11 @@ jobs:
|
|||||||
first:
|
first:
|
||||||
name: Step One
|
name: Step One
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: alpine/git
|
||||||
steps:
|
steps:
|
||||||
- run: echo "$GITHUB_SERVER_URL"
|
- run: echo "$GITHUB_SERVER_URL"
|
||||||
|
- run: |
|
||||||
|
URL=$(echo "$GITHUB_SERVER_URL" | sed 's%://%$GITHUB_TOKEN@://%')
|
||||||
|
git clone "$URL/$GITHUB_REPOSITORY.git"
|
||||||
|
git switch $GITHUB_REF
|
||||||
|
- run: ls
|
||||||
|
Loading…
Reference in New Issue
Block a user