Set SEGMENT_DOWNLOAD_TIMEOUT_MINS to 1min (#36706)
This commit is contained in:
4
.github/actions/node-npm-setup/action.yml
vendored
4
.github/actions/node-npm-setup/action.yml
vendored
@@ -8,6 +8,10 @@ runs:
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
|
||||
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:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node_modules-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/actions/node-npm-setup/action.yml') }}
|
||||
|
||||
Reference in New Issue
Block a user