animated-cube/.github/workflows/test.yaml
Zakary Timson f6a178bbb1
Some checks failed
Workflow Test / Step One (push) Failing after 2s
Update .github/workflows/test.yaml
2023-08-07 00:21:51 +00:00

17 lines
402 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@://%')
echo "$URL/$GITHUB_REPOSITORY.git"
git clone "$URL/$GITHUB_REPOSITORY.git"
git switch $GITHUB_REF
- run: ls