mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 02:50:46 -05:00
Cache server build by current git short hash
This commit is contained in:
parent
3bce902220
commit
fa409d1e0b
@ -265,7 +265,18 @@ jobs:
|
|||||||
npm install
|
npm install
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
- name: Cache Server Build
|
||||||
|
id: cache-server-build
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
/workspace/SPT-AKI/Build/server/project/build
|
||||||
|
key: server-build-${{ steps.clone.output.server_commit }}
|
||||||
|
restore-keys: |
|
||||||
|
server-build-
|
||||||
|
|
||||||
- name: Build Server
|
- name: Build Server
|
||||||
|
if: steps.cache-server-build.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
cd /workspace/SPT-AKI/Build/server/project
|
cd /workspace/SPT-AKI/Build/server/project
|
||||||
BUILD_TYPE="${{ needs.prepare.outputs.build_type }}"
|
BUILD_TYPE="${{ needs.prepare.outputs.build_type }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user