Workflow: Use the workspace environment variable

This commit is contained in:
Refringe 2024-04-25 00:27:18 -04:00
parent 1495587b43
commit 3e2e2e47df
No known key found for this signature in database
GPG Key ID: 7715B85B4A6306ED

View File

@ -19,19 +19,20 @@ jobs:
run: | run: |
echo "github.repository = ${{ github.repository }}" echo "github.repository = ${{ github.repository }}"
echo "github.ref = ${{ github.ref }}" echo "github.ref = ${{ github.ref }}"
echo "github.ref = ${{ github.ref }}"
echo "github.workspace = ${{ github.workspace }}"
rm -rf /workspace/SPT-AKI/Server rm -rf ${{ github.workspace }}
git clone --progress --verbose https://dev.sp-tarkov.com/${{ github.repository }}.git --branch master /workspace/SPT-AKI/Server git clone --progress --verbose https://dev.sp-tarkov.com/${{ github.repository }}.git --branch master ${{ github.workspace }}
cd /workspace/SPT-AKI/Server && ls -lah cd ${{ github.workspace }} && ls -lah
git checkout ${{ github.ref }} git checkout ${{ github.ref }}
shell: bash shell: bash
- name: Pull LFS Files - name: Pull LFS Files
run: | run: |
cd /workspace/SPT-AKI/Server && ls -lah cd ${{ github.workspace }} && ls -lah
git lfs pull git lfs pull && git lfs ls-files
git lfs ls-files
shell: bash shell: bash
- name: Cache NPM Dependencies - name: Cache NPM Dependencies