Update git/checkout/action.yaml

This commit is contained in:
2023-08-07 00:38:48 +00:00
parent a7a1881c43
commit afe9a1e3f4

10
git/checkout/action.yaml Normal file
View File

@ -0,0 +1,10 @@
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" .