[ci] Override actions/cache default timeout

actions/cache has a default timeout of 10 minutes. Occasionally the
cache service download gets stuck and it waits this amount of time
before proceeding like it was a cache miss.

10 minutes is way too long so let's shorten this to a minute.

ghstack-source-id: 95dee31bd9
Pull Request resolved: https://github.com/facebook/react/pull/30512
This commit is contained in:
Lauren Tan
2024-07-29 17:35:12 -04:00
parent 397646ad51
commit 87b1a942ef
7 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ on:
env:
TZ: /usr/share/zoneinfo/America/Los_Angeles
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#cache-segment-restore-timeout
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
jobs:
download_artifacts: