This commit is contained in:
Marco Carrozzo
2023-01-18 17:31:17 +01:00
parent 2cde4ed5cf
commit 92b9d1659a
+10 -10
View File
@@ -37,11 +37,11 @@ runs:
with: with:
path: | path: |
nxcache nxcache
key: nxcache-${env.GITHUB_REF_NAME}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-${{ steps.tag-sha.outputs.tag_sha }} key: nxcache-${GITHUB_REF_NAME}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-${{ steps.tag-sha.outputs.tag_sha }}
restore-keys: | restore-keys: |
nxcache-${env.GITHUB_REF_NAME}-build-${{ env.cache-name }}- nxcache-${GITHUB_REF_NAME}-build-${{ env.cache-name }}-
nxcache-${env.GITHUB_REF_NAME}-build- nxcache-${GITHUB_REF_NAME}-build-
nxcache-${env.GITHUB_REF_NAME}- nxcache-${GITHUB_REF_NAME}-
- name: Node Modules cache - name: Node Modules cache
id: node-modules-cache id: node-modules-cache
if: ${{ inputs.enable-node-modules-cache == 'true' }} if: ${{ inputs.enable-node-modules-cache == 'true' }}
@@ -51,19 +51,19 @@ runs:
with: with:
path: | path: |
node_modules node_modules
key: .npm-${env.GITHUB_REF_NAME}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-${{ steps.tag-sha.outputs.tag_sha }} key: .npm-${GITHUB_REF_NAME}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-${{ steps.tag-sha.outputs.tag_sha }}
restore-keys: | restore-keys: |
node_modules-${env.GITHUB_REF_NAME}-build-${{ env.cache-name }}- node_modules-${GITHUB_REF_NAME}-build-${{ env.cache-name }}-
node_modules-${env.GITHUB_REF_NAME}-build- node_modules-${GITHUB_REF_NAME}-build-
node_modules-${env.GITHUB_REF_NAME}- node_modules-${GITHUB_REF_NAME}-
- name: pip cache - name: pip cache
uses: actions/cache@v3 uses: actions/cache@v3
if: ${{ inputs.enable-cache == 'true' }} if: ${{ inputs.enable-cache == 'true' }}
with: with:
path: ~/.cache/pip path: ~/.cache/pip
key: ${env.GITHUB_REF_NAME}-pip- key: ${GITHUB_REF_NAME}-pip-
restore-keys: | restore-keys: |
${env.GITHUB_REF_NAME} ${GITHUB_REF_NAME}
# ENV LOAD # ENV LOAD
- name: load .travis.yml env.global variables - name: load .travis.yml env.global variables
uses: Alfresco/alfresco-build-tools/.github/actions/travis-env-load@v1.17.0 uses: Alfresco/alfresco-build-tools/.github/actions/travis-env-load@v1.17.0