removed pip cache

This commit is contained in:
Marco Carrozzo
2023-01-19 15:31:16 +01:00
parent 2ade684314
commit fdce643b53
3 changed files with 7 additions and 17 deletions

View File

@@ -56,18 +56,9 @@ runs:
with:
path: |
node_modules
key: node_modules-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
key: ${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
node_modules-${{ env.cache-name }}-
node_modules-
- name: pip cache
uses: actions/cache@v3
if: ${{ inputs.enable-global-nx-cache == 'true' }}
with:
path: ~/.cache/pip
key: ${{ github.ref_name }}-pip-
restore-keys: |
${{ github.ref_name }}
${{ env.cache-name }}-
# ENV LOAD
- name: load .travis.yml env.global variables
uses: Alfresco/alfresco-build-tools/.github/actions/travis-env-load@v1.17.0

View File

@@ -158,11 +158,10 @@ jobs:
with:
enable-global-nx-cache: true
enable-global-node-modules-cache: false
cache-key-suffix: unit-tests
- uses: ./.github/actions/download-cache-and-artifacts
with:
# packages: 'dist node_modules'
packages: 'dist'
cache-key-suffix: unit-tests-${{ matrix.unit-tests.name }}
# - uses: ./.github/actions/download-cache-and-artifacts
# with:
# packages: 'node_modules'
- name: Run unit tests
run: |
/usr/bin/xvfb-run --auto-servernum nx affected:test $NX_CALCULATION_FLAGS --exclude=${{ matrix.unit-tests.exclude }}