2023-08-06 19:20:12 -04:00
|
|
|
name: Workflow Test
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
2023-08-06 19:21:10 -04:00
|
|
|
first:
|
|
|
|
name: Step One
|
|
|
|
runs-on: ubuntu-latest
|
2023-08-06 19:52:21 -04:00
|
|
|
container: alpine/git
|
2023-08-06 19:21:10 -04:00
|
|
|
steps:
|
2023-08-06 20:06:34 -04:00
|
|
|
- run: |
|
|
|
|
URL=$(echo "${{GITHUB_SERVER_URL}}" | sed 's%://%${{GITHUB_TOKEN}}@://%')
|
|
|
|
git clone "$URL/${{GITHUB_REPOSITORY}}"
|
|
|
|
git switch ${{GITHUB_REF}}
|
|
|
|
- run: ls
|