mirror of
https://github.com/sp-tarkov/build.git
synced 2025-02-13 01:50:46 -05:00
Improves caching accuracy
Additionally, includes the build type in the key of the server build caching step.
This commit is contained in:
parent
3f346d0cd7
commit
bd9926d7e3
@ -254,8 +254,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
/workspace/SPT-AKI/Build/server/project/node_modules
|
/workspace/SPT-AKI/Build/server/project/node_modules
|
||||||
key: npm-dependencies-${{ hashFiles('/workspace/SPT-AKI/Build/server/project/package.json') }}
|
key: npm-dependencies-${{ hashFiles('/workspace/SPT-AKI/Build/server/project/package.json') }}
|
||||||
restore-keys: |
|
|
||||||
npm-dependencies-
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
if: steps.cache-npm-dependencies.outputs.cache-hit != 'true'
|
if: steps.cache-npm-dependencies.outputs.cache-hit != 'true'
|
||||||
@ -271,9 +269,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
/workspace/SPT-AKI/Build/server/project/build
|
/workspace/SPT-AKI/Build/server/project/build
|
||||||
key: server-build-${{ steps.clone.output.server_commit }}
|
key: server-build-${{ steps.clone.output.server_commit }}-${{ needs.prepare.outputs.build_type }}
|
||||||
restore-keys: |
|
|
||||||
server-build-
|
|
||||||
|
|
||||||
- name: Build Server
|
- name: Build Server
|
||||||
if: steps.cache-server-build.outputs.cache-hit != 'true'
|
if: steps.cache-server-build.outputs.cache-hit != 'true'
|
||||||
@ -359,8 +355,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
/workspace/SPT-AKI/Build/modules/project/Build
|
/workspace/SPT-AKI/Build/modules/project/Build
|
||||||
key: modules-build-${{ steps.clone.output.modules_commit }}
|
key: modules-build-${{ steps.clone.output.modules_commit }}
|
||||||
restore-keys: |
|
|
||||||
modules-build-
|
|
||||||
|
|
||||||
- name: Build Modules
|
- name: Build Modules
|
||||||
if: steps.cache-modules-build.outputs.cache-hit != 'true'
|
if: steps.cache-modules-build.outputs.cache-hit != 'true'
|
||||||
@ -412,8 +406,6 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
/workspace/SPT-AKI/Build/launcher/project/Build
|
/workspace/SPT-AKI/Build/launcher/project/Build
|
||||||
key: launcher-build-${{ steps.clone.output.launcher_commit }}
|
key: launcher-build-${{ steps.clone.output.launcher_commit }}
|
||||||
restore-keys: |
|
|
||||||
launcher-build-
|
|
||||||
|
|
||||||
- name: Build Launcher
|
- name: Build Launcher
|
||||||
if: steps.cache-launcher-build.outputs.cache-hit != 'true'
|
if: steps.cache-launcher-build.outputs.cache-hit != 'true'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user