From ea0b4bdeed3bac34477b14dbaa08e19e09f4e662 Mon Sep 17 00:00:00 2001 From: Refringe Date: Thu, 25 Apr 2024 00:47:42 -0400 Subject: [PATCH] Workflow: Reference the current branch in the clone command. --- .gitea/workflows/run-test.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/run-test.yaml b/.gitea/workflows/run-test.yaml index e20660b2..24f5deb7 100644 --- a/.gitea/workflows/run-test.yaml +++ b/.gitea/workflows/run-test.yaml @@ -18,10 +18,7 @@ jobs: - name: Clone run: | rm -rf ${{ github.workspace }}/current - git clone --progress --verbose https://dev.sp-tarkov.com/${{ github.repository }}.git --branch master ${{ github.workspace }}/current - - cd ${{ github.workspace }}/current && ls -lah - git checkout ${{ github.ref }} + git clone --progress https://dev.sp-tarkov.com/${{ github.repository }}.git --branch ${{ github.ref }} ${{ github.workspace }}/current shell: bash - name: Pull LFS Files