Workflow: Reference the current branch in the clone command.

This commit is contained in:
Refringe 2024-04-25 00:47:42 -04:00
parent 900e0e6a15
commit ea0b4bdeed
No known key found for this signature in database
GPG Key ID: 7715B85B4A6306ED

View File

@ -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