Update clone/action.yaml

This commit is contained in:
2023-11-24 02:41:24 +00:00
parent 049d65cc31
commit db395e17b5

View File

@ -1,14 +0,0 @@
name: Checkout
desciption: Git clone reposirory
runs:
using: composite
steps:
- name: Creat authorized Git URL
run: echo "URL=$(echo ${{github.server_url}} | sed s%://%://${{github.token}}@% )/${{github.repository}}.git" >> $GITHUB_ENV
shell: sh
- name: Clone repository
uses: docker://gitlab/gitlab-runner:alpine
with:
entrypoint: git
args: clone -b "${{github.ref_name}}" "${{env.URL}}" .