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 - name: Clone
run: | run: |
rm -rf ${{ github.workspace }}/current rm -rf ${{ github.workspace }}/current
git clone --progress --verbose https://dev.sp-tarkov.com/${{ github.repository }}.git --branch master ${{ github.workspace }}/current git clone --progress https://dev.sp-tarkov.com/${{ github.repository }}.git --branch ${{ github.ref }} ${{ github.workspace }}/current
cd ${{ github.workspace }}/current && ls -lah
git checkout ${{ github.ref }}
shell: bash shell: bash
- name: Pull LFS Files - name: Pull LFS Files