From b36e73b788cd0d770a07c23b8103c535c647c401 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Mon, 30 Jun 2025 13:20:22 -0400 Subject: [PATCH] Update clone/action.yaml --- clone/action.yaml | 52 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/clone/action.yaml b/clone/action.yaml index d26a8c6..9a3514f 100644 --- a/clone/action.yaml +++ b/clone/action.yaml @@ -1,26 +1,26 @@ -name: Checkout -desciption: Git clone reposirory - -inputs: - url: - type: string - required: false - description: Repository URL that will be cloned - default: ${{github.server_url}}/${{github.repository}}.git - token: - type: string - required: false - description: Authentication token - default: ${{github.token}} - -runs: - using: composite - steps: - - name: Creat authorized Git URL - run: echo "URL=$(echo ${{inputs.url}} | sed s%://%://${{inputs.token}}@% )" >> $GITHUB_ENV - shell: sh - - name: Clone repository - uses: docker://alpine/git - with: - entrypoint: git - args: clone -b "${{github.ref_name}}" "${{env.URL}}" . +name: Checkout +desciption: Git clone reposirory + +inputs: + url: + type: string + required: false + description: Repository URL that will be cloned + default: ${{github.server_url}}/${{github.repository}}.git + token: + type: string + required: false + description: Authentication token + default: ${{github.token}} + +runs: + using: composite + steps: + - name: Creat authorized Git URL + run: echo "URL=$(echo ${{inputs.url}} | sed s%://%://${{inputs.token}}@% )" >> $GITHUB_ENV + shell: sh + - name: Clone repository + uses: docker://alpine/git + with: + entrypoint: bash + args: git clone -b "${{github.ref_name}}" "${{env.URL}}" . && git submodule update --init --recursive