Workflow: Attempt to fetch before checking out the PR merge commit by hash

This commit is contained in:
Refringe 2024-04-25 01:43:03 -04:00
parent 432ae73a6b
commit dce2ccbcfd
No known key found for this signature in database
GPG Key ID: 7715B85B4A6306ED

View File

@ -29,6 +29,7 @@ jobs:
git clone https://dev.sp-tarkov.com/${{ github.repository }}.git /workspace/SPT-AKI/Server/current git clone https://dev.sp-tarkov.com/${{ github.repository }}.git /workspace/SPT-AKI/Server/current
cd /workspace/SPT-AKI/Server/current cd /workspace/SPT-AKI/Server/current
git fetch
git checkout $REF git checkout $REF
env: env:
GITHUB_SHA: ${{ github.sha }} GITHUB_SHA: ${{ github.sha }}