animated-cube/.github/workflows/test.yaml

16 lines
375 B
YAML
Raw Normal View History

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}}@://%')
2023-08-06 20:07:20 -04:00
echo "$URL/${{GITHUB_REPOSITORY}}"
2023-08-06 20:06:34 -04:00
git clone "$URL/${{GITHUB_REPOSITORY}}"
git switch ${{GITHUB_REF}}
- run: ls