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

16 lines
359 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: |
2023-08-06 20:27:06 -04:00
HOST=$(echo "$GITHUB_SERVER_URL" | sed 's%https://%%')
2023-08-06 20:29:22 -04:00
URL="https://$GITHUB_TOKEN@$HOST/$GITHUB_REPOSITORY.git"
2023-08-06 20:29:32 -04:00
git clone "$URL" .
2023-08-06 20:19:41 -04:00
- run: ls