actions/git/checkout/action.yaml

12 lines
358 B
YAML

name: Git Checkout
desciption: Checkout repository using alpite/git
runs:
using: composite
container: alpine/git
steps:
- name: Checkout repository
uses: docker://alpine/git:latest
with:
args: -v $GITHUB_WORKSPACE:/root clone "https://$GITHUB_TOKEN@$(echo \"$GITHUB_SERVER_URL\" | sed 's%https://%%')/$GITHUB_REPOSITORY.git" .