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: with:
path: | path: |
node_modules node_modules
key: node_modules-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} key: ${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: | restore-keys: |
node_modules-${{ env.cache-name }}- ${{ 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 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

View File

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