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

16 lines
357 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 20:19:41 -04:00
container: alpine/git
2023-08-06 19:21:10 -04:00
steps:
2023-08-06 20:17:27 -04:00
- run: echo "$GITHUB_SERVER_URL"
2023-08-06 20:19:41 -04:00
- run: |
URL=$(echo "$GITHUB_SERVER_URL" | sed 's%://%$GITHUB_TOKEN@://%')
git clone "$URL/$GITHUB_REPOSITORY.git"
git switch $GITHUB_REF
- run: ls