From b02cd9f349b0e0532dc2afc082e10c2273076fce Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 24 Nov 2023 01:33:14 +0000 Subject: [PATCH] Update git/action.yaml --- git/action.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/git/action.yaml b/git/action.yaml index ecc9ce7..f4ebe0e 100644 --- a/git/action.yaml +++ b/git/action.yaml @@ -1,11 +1,13 @@ -name: Git Checkout -desciption: Checkout repository using alpite/git +name: Checkout +desciption: Git clone reposirory 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 + - name: Creat authorized Git URL + 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: entrypoint: git args: clone -b "${{github.ref_name}}" "${{env.URL}}" .