1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Set SEGMENT_DOWNLOAD_TIMEOUT_MINS to 1min (#36706)

This commit is contained in:
Peter Bengtsson
2023-04-28 12:01:24 -04:00
committed by GitHub
parent 53c7ae5301
commit 9f1a01261c

View File

@@ -8,6 +8,10 @@ runs:
- name: Cache node_modules - name: Cache node_modules
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
id: cache-node_modules id: cache-node_modules
env:
# Default is 10 min, per segment, but we can make it much smaller
# because it's not the end of the world if the cache restore fails.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: '1'
with: with:
path: node_modules path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/actions/node-npm-setup/action.yml') }} key: ${{ runner.os }}-node_modules-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/actions/node-npm-setup/action.yml') }}