actions/git/action.yaml

12 lines
393 B
YAML

name: Git Checkout
desciption: Checkout repository using alpite/git
runs:
using: composite
steps:
- run: echo "URL=$(echo ${{github.server_url}} | sed s%://%://${{github.token}}@% )/${{github.repository}}.git" >> $GITHUB_ENV
- uses: docker://gitlab/gitlab-runner:alpine
with:
entrypoint: git
args: clone -b "${{github.ref_name}}" "${{env.URL}}" .