Update git/action.yaml
This commit is contained in:
parent
b65199a416
commit
b02cd9f349
@ -1,11 +1,13 @@
|
|||||||
name: Git Checkout
|
name: Checkout
|
||||||
desciption: Checkout repository using alpite/git
|
desciption: Git clone reposirory
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- run: echo "URL=$(echo ${{github.server_url}} | sed s%://%://${{github.token}}@% )/${{github.repository}}.git" >> $GITHUB_ENV
|
- name: Creat authorized Git URL
|
||||||
- uses: docker://gitlab/gitlab-runner:alpine
|
run: echo "URL=$(echo ${{github.server_url}} | sed s%://%://${{github.token}}@% )/${{github.repository}}.git" >> $GITHUB_ENV
|
||||||
|
- name: Clone repository
|
||||||
|
uses: docker://gitlab/gitlab-runner:alpine
|
||||||
with:
|
with:
|
||||||
entrypoint: git
|
entrypoint: git
|
||||||
args: clone -b "${{github.ref_name}}" "${{env.URL}}" .
|
args: clone -b "${{github.ref_name}}" "${{env.URL}}" .
|
||||||
|
Loading…
Reference in New Issue
Block a user