16 lines
357 B
YAML
16 lines
357 B
YAML
name: Workflow Test
|
|
on: push
|
|
|
|
jobs:
|
|
first:
|
|
name: Step One
|
|
runs-on: ubuntu-latest
|
|
container: alpine/git
|
|
steps:
|
|
- 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
|