Workflow: Use the workspace environment variable
This commit is contained in:
parent
1495587b43
commit
3e2e2e47df
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user