Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump actions/cache from 1 to 3 (#220)
Bumps [actions/cache](https://github.com/actions/cache) from 1 to 3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/releases">actions/cache's releases</a>.</em></p> <blockquote> <h2>v3.0.0</h2> <ul> <li> <p>This change adds a minimum runner version(node12 -> node16), which can break users using an out-of-date/fork of the runner. This would be most commonly affecting users on GHES 3.3 or before, as those runners do not support node16 actions and they can use actions from github.com via <a href="https://docs.github.com/en/[email protected]/admin/github-actions/managing-access-to-actions-from-githubcom/enabling-automatic-access-to-githubcom-actions-using-github-connect">github connect</a> or manually copying the repo to their GHES instance.</p> </li> <li> <p>Few dependencies and cache action usage examples have also been updated.</p> </li> </ul> <h2>Updating actions/core to version 1.10.0</h2> <p>The ::save-state and ::set-output are deprecated. The newer version of actions/core >1.10.0 uses the new syntax for save and set output. After this change, customers using actions/cache@v2 won't see deprecation warning message.</p> <h2>v2.1.7</h2> <p>Support 10GB cache upload using the latest version <code>1.0.8</code> of <a href="https://www.npmjs.com/package/@actions/cache"><code>@actions/cache</code> </a></p> <h2>v2.1.6</h2> <ul> <li>Catch unhandled "bad file descriptor" errors that sometimes occurs when the cache server returns non-successful response (<a href="https://redirect.github.com/actions/cache/pull/596">actions/cache#596</a>)</li> </ul> <h2>v2.1.5</h2> <ul> <li>Fix permissions error seen when extracting caches with GNU tar that were previously created using BSD tar (<a href="https://redirect.github.com/actions/cache/issues/527">actions/cache#527</a>)</li> </ul> <h2>v2.1.4</h2> <ul> <li>Make caching more verbose <a href="https://redirect.github.com/actions/toolkit/pull/650">#650</a></li> <li>Use GNU tar on macOS if available <a href="https://redirect.github.com/actions/toolkit/pull/701">#701</a></li> </ul> <h2>v2.1.3</h2> <ul> <li>Upgrades <code>@actions/core</code> to v1.2.6 for <a href="https://github.com/advisories/GHSA-mfwh-5m23-j46w">CVE-2020-15228</a>. This action was not using the affected methods.</li> <li>Fix error handling in <code>uploadChunk</code> where 400-level errors were not being detected and handled correctly</li> </ul> <h2>v2.1.2</h2> <ul> <li>Adds input to limit the chunk upload size, useful for self-hosted runners with slower upload speeds</li> <li>No-op when executing on GHES</li> </ul> <h2>v2.1.1</h2> <ul> <li>Update <code>@actions/cache</code> package to <code>v1.0.2</code> which allows cache action to use posix format when taring files.</li> </ul> <h2>v2.1.0</h2> <ul> <li>Replaces the <code>http-client</code> with the Azure Storage SDK for NodeJS when downloading cache content from Azure. This should help improve download performance and reliability as the SDK downloads files in 4 MB chunks, which can be parallelized and retried independently</li> <li>Display download progress and speed</li> </ul> <h2>v2.0.0</h2> <p>Initial v2 release</p> <h2>What's new in v2</h2> <ul> <li>Added support for multiple paths (<a href="https://redirect.github.com/actions/cache/issues/16">actions/cache#16</a>), glob patterns, and single file caches (<a href="https://redirect.github.com/actions/cache/issues/33">actions/cache#33</a>)</li> <li>Increased performance and improved cache sizes using <code>zstd</code> for compression for Linux and macOS runners (<a href="https://redirect.github.com/actions/cache/issues/184">actions/cache#184</a>)</li> <li>Allowed caching for all events with a ref (<a href="https://redirect.github.com/actions/cache/issues/63">actions/cache#63</a>)</li> <li>Created the <a href="https://github.com/actions/toolkit/tree/master/packages/cache"><code>@actions/cache</code></a> npm package to allow other actions to utilize caching (<a href="https://redirect.github.com/actions/cache/issues/55">actions/cache#55</a>)</li> <li>Added a best-effort step to delete the archive after extraction to reduces storage space (<a href="https://redirect.github.com/actions/cache/pull/209">actions/cache#209</a>)</li> </ul> <h2>Updating actions/core to version 1.10.0</h2> <p>The ::save-state and ::set-output are deprecated. The newer version of actions/core >1.10.0 uses the new syntax for save and set output. After this change, customers using actions/cache@v1 won't see deprecation warning message.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/cache/blob/main/RELEASES.md">actions/cache's changelog</a>.</em></p> <blockquote> <h1>Releases</h1> <h3>3.0.0</h3> <ul> <li>Updated minimum runner version support from node 12 -> node 16</li> </ul> <h3>3.0.1</h3> <ul> <li>Added support for caching from GHES 3.5.</li> <li>Fixed download issue for files > 2GB during restore.</li> </ul> <h3>3.0.2</h3> <ul> <li>Added support for dynamic cache size cap on GHES.</li> </ul> <h3>3.0.3</h3> <ul> <li>Fixed avoiding empty cache save when no files are available for caching. (<a href="https://redirect.github.com/actions/cache/issues/624">issue</a>)</li> </ul> <h3>3.0.4</h3> <ul> <li>Fixed tar creation error while trying to create tar with path as <code>~/</code> home folder on <code>ubuntu-latest</code>. (<a href="https://redirect.github.com/actions/cache/issues/689">issue</a>)</li> </ul> <h3>3.0.5</h3> <ul> <li>Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. (<a href="https://redirect.github.com/actions/cache/pull/834">PR</a>)</li> </ul> <h3>3.0.6</h3> <ul> <li>Fixed <a href="https://redirect.github.com/actions/cache/issues/809">#809</a> - zstd -d: no such file or directory error</li> <li>Fixed <a href="https://redirect.github.com/actions/cache/issues/833">#833</a> - cache doesn't work with github workspace directory</li> </ul> <h3>3.0.7</h3> <ul> <li>Fixed <a href="https://redirect.github.com/actions/cache/issues/810">#810</a> - download stuck issue. A new timeout is introduced in the download process to abort the download if it gets stuck and doesn't finish within an hour.</li> </ul> <h3>3.0.8</h3> <ul> <li>Fix zstd not working for windows on gnu tar in issues <a href="https://redirect.github.com/actions/cache/issues/888">#888</a> and <a href="https://redirect.github.com/actions/cache/issues/891">#891</a>.</li> <li>Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable <code>SEGMENT_DOWNLOAD_TIMEOUT_MINS</code>. Default is 60 minutes.</li> </ul> <h3>3.0.9</h3> <ul> <li>Enhanced the warning message for cache unavailablity in case of GHES.</li> </ul> <h3>3.0.10</h3> <ul> <li>Fix a bug with sorting inputs.</li> <li>Update definition for restore-keys in README.md</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/cache/commit/88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8"><code>88522ab</code></a> Reduced download segment size to 128 MB and timeout to 10 minutes (<a href="https://redirect.github.com/actions/cache/issues/1129">#1129</a>)</li> <li><a href="https://github.com/actions/cache/commit/940f3d7cf195ba83374c77632d1e2cbb2f24ae68"><code>940f3d7</code></a> Add <code>lookup-only</code> option (<a href="https://redirect.github.com/actions/cache/issues/1041">#1041</a>)</li> <li><a href="https://github.com/actions/cache/commit/e0d62270e20d6eeecf2fd6397a1b8871b6269e38"><code>e0d6227</code></a> docs: Add missing permission in cache delete example (<a href="https://redirect.github.com/actions/cache/issues/1123">#1123</a>)</li> <li><a href="https://github.com/actions/cache/commit/69d9d449aced6a2ede0bc19182fadc3a0a42d2b0"><code>69d9d44</code></a> Merge pull request <a href="https://redirect.github.com/actions/cache/issues/1118">#1118</a> from actions/pdotl/zstd-hotfix</li> <li><a href="https://github.com/actions/cache/commit/8d3a1e02aa504540dff5000c782b8263e3b411fb"><code>8d3a1e0</code></a> Fix license</li> <li><a href="https://github.com/actions/cache/commit/b1db4b48979ec1f6d6142513d9448c4288d05ec4"><code>b1db4b4</code></a> Fix zstd breaking after new version release</li> <li><a href="https://github.com/actions/cache/commit/7d4d6f7ffd301005e7fac90369bb90ae1d547974"><code>7d4d6f7</code></a> Update package-lock.json</li> <li><a href="https://github.com/actions/cache/commit/8f7fa5d715f6773b40e9fbf9cb77bcb5d914d0dc"><code>8f7fa5d</code></a> Bump <code>@actions/cache</code> version</li> <li><a href="https://github.com/actions/cache/commit/95b455a0fba5a5e1770cc10ded51e5fe99a6737b"><code>95b455a</code></a> 3.2.6</li> <li><a href="https://github.com/actions/cache/commit/81b728193625a15a55fcce4c6eb6187358533785"><code>81b7281</code></a> Updated branch in Force deletion of caches (<a href="https://redirect.github.com/actions/cache/issues/1108">#1108</a>)</li> <li>Additional commits viewable in <a href="https://github.com/actions/cache/compare/v1...v3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/cache&package-manager=github_actions&previous-version=1&new-version=3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information