actions/git/checkout.yaml

11 lines
303 B
YAML
Raw Normal View History

2023-08-06 20:35:23 -04:00
name: Git Checkout
desciption: Checkout repository using alpite/git
runs:
using: composite
steps:
- run: |
HOST=$(echo "$GITHUB_SERVER_URL" | sed 's%https://%%')
URL="https://$GITHUB_TOKEN@$HOST/$GITHUB_REPOSITORY.git"
git clone -b "$GITHUB_REF_NAME" "$URL" .