mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-12 16:50:45 -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
|
||||
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
|
||||
if: steps.cache-server-build.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
cd /workspace/SPT-AKI/Build/server/project
|
||||
BUILD_TYPE="${{ needs.prepare.outputs.build_type }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user