Salman Chishti
884aa17886
remove these changes
2025-03-06 14:31:21 -08:00
Salman Chishti
944e6b78db
Add secret and signature masking for cache and artifact packages
2025-03-06 14:25:32 -08:00
Rob Herley
d096588f08
cache: wrap create failures in ReserveCacheError
2025-02-25 12:49:08 -05:00
Rob Herley
7fe619c58c
update mocks
2025-02-14 09:42:41 -05:00
Rob Herley
e0c069db55
remove runtime dependency on twirp-ts
2025-01-27 17:52:55 +00:00
Bassem Dghaidi
792ec716de
Tune upload options
2024-12-02 07:32:33 -08:00
Bassem Dghaidi
7ad18fd6bd
Fix linter complaints
2024-12-02 04:24:17 -08:00
Bassem Dghaidi
87171e29ca
Fix tests
2024-12-02 04:18:46 -08:00
Bassem Dghaidi
db1d01308c
Troubleshoot
2024-12-02 03:35:20 -08:00
Bassem Dghaidi
c6f1224d30
Add progress tracking for blob uploads
2024-12-02 02:33:27 -08:00
Bassem Dghaidi
1d403c2fd8
Fix tests
2024-11-29 07:36:51 -08:00
Bassem Dghaidi
8c5f6f2dc5
Force use of Azure for restoreCacheV2
2024-11-28 07:42:07 -08:00
Bassem Dghaidi
62f5f1885b
Refactor saveCacheV2 to use saveCache from cacheHttpClient
2024-11-28 07:22:01 -08:00
Bassem Dghaidi
eaf0083ee2
Respect download options for restore
2024-11-28 04:56:37 -08:00
Bassem Dghaidi
c1fb081674
Linter fixes
2024-11-28 03:53:34 -08:00
Bassem Dghaidi
df166709a3
Refactor cache upload functionality and improve test cases
2024-11-28 03:52:09 -08:00
Bassem Dghaidi
27e5cf2514
Replace downloadCacheFile with downloadCacheStorageSDK
2024-11-27 04:51:21 -08:00
John Sudol
b050504b2d
Add test case for when the uploadFile fails on the blobclient
2024-11-27 01:45:46 +00:00
John Sudol
5d0a4af70a
Remove unused mock
2024-11-26 23:33:19 +00:00
John Sudol
94f18eb26e
Only mock the cacheUtil methods we need
2024-11-26 23:05:11 +00:00
John Sudol
208dbe2131
PR feedback
2024-11-26 16:36:12 +00:00
John Sudol
46174ed573
run prettier
2024-11-26 00:56:07 +00:00
John Sudol
1f087496ca
Add debug message for uploadResponse
2024-11-26 00:43:37 +00:00
John Sudol
8f606682c2
Add saveCacheV2 tests
2024-11-26 00:23:42 +00:00
Bassem Dghaidi
35ede8fcf0
Add a new debug message for downloads
2024-11-25 12:08:07 -08:00
Bassem Dghaidi
2d2513915c
Remove unused package
...
Co-authored-by: Rob Herley <robherley@github.com>
2024-11-25 16:13:20 +01:00
Bassem Dghaidi
de236da416
Fix cache lookup scenario
2024-11-25 05:47:51 -08:00
Bassem Dghaidi
4dadd612d6
Add support for matching on restore key values
2024-11-25 05:42:50 -08:00
Bassem Dghaidi
54ac2dd012
Add cache service version debug message
2024-11-25 04:08:47 -08:00
Bassem Dghaidi
4de30f744e
Add more tests for restoreCacheV2
2024-11-25 03:53:03 -08:00
Bassem Dghaidi
39d19810a8
Add restore tests
2024-11-22 09:01:59 -08:00
Bassem Dghaidi
e2028d43a2
Linter fixes and remove unnecessary dependency
2024-11-21 04:05:04 -08:00
Bassem Dghaidi
267841d7bd
Add isGhes gate and refactor to clean up circular dependencies
2024-11-21 04:01:44 -08:00
Bassem Dghaidi
b2557ac90c
Formatting and stylistic cleanup
2024-11-14 03:22:03 -08:00
Bassem Dghaidi
69409b3acd
Fix broken test
2024-11-14 03:10:48 -08:00
Bassem Dghaidi
4e1912a3c3
Restore __tests__
2024-11-14 02:08:24 -08:00
Bassem Dghaidi
01bf918aa5
Refactoring & cleanup
2024-10-24 06:09:23 -07:00
Bassem Dghaidi
28dbd8ff93
Cleanups and package refactoring
2024-10-24 05:19:48 -07:00
Bassem Dghaidi
5e5faf73fc
Use zlib for compression
2024-06-13 03:16:59 -07:00
Smeb
8fee77b04b
fix #1579 : add test to check getCacheVersion does not mutate arguments
2024-03-07 16:23:04 +01:00
eggyhead
d134334a38
lint fixes
2024-01-31 16:51:04 +00:00
eggyhead
3b02a6fdc5
updating alowed hosts in isGhes check
...
updating alowed hosts in artifact ghes check
using dot prepend ghe host
2024-01-31 16:30:37 +00:00
Chad Kimes
f74ff155bd
Add option for concurrent cache downloads with timeout ( #1484 )
...
* Add option for concurrent cache downloads with timeout
* Add release notes
* Fix lint
2023-08-07 13:25:56 -04:00
Sankalp Kotewar
fe92749762
Merge branch 'main' into kotewar/updating-blobstorage-client-to-12.13.0
2023-03-09 00:33:52 +05:30
Sankalp Kotewar
7d1daaf15e
Fixed test case
2023-03-08 09:26:29 +00:00
Marc Mueller
a3849b77ae
Rename option to lookupOnly
2023-02-21 12:37:48 +01:00
Marc Mueller
eb06c21794
Add cache restore dryRun option
2023-02-21 12:37:48 +01:00
Christoph Reiter
ea21da6993
Don't set the MSYS env var globally ( #1329 )
...
b2d865f18051b21447 introduced a call to exportVariable() to export the MSYS env
var, which configures the symlink strategy for MSYS2/cygwin binaries it calls.
By setting the env var globally, this also changes the behaviour of other MSYS2
using tools in a CI job, and also overrides MSYS configuration set by the user,
which I think was not intended.
To avoid this leakage set the MSYS env var only for the commands which
@actions/cache calls.
Fixes #1312
2023-02-08 10:58:25 +05:30
Sampark Sharma
b2d865f180
Cache package release for compression change in windows with symlink fix ( #1291 )
...
* Cache package release for compression change in windows
This reverts commit 86fe4abd8e89005bbd880c330af444ae4c7d3b15.
* Add env variable to enable windows symlinks
* Add cross os opt-in functionality for cache on windows
* Fix test
* Address review comments
* Fix test
* Fix tests
* Fix tests
* Fix tests
* Address review comments
* Address review comments
* Fix tests
* Fix tests
* Add npm version
* Add release details
2023-01-04 12:16:25 +05:30
Sampark Sharma
86fe4abd8e
Revert "Cache package release for compression change in windows" ( #1289 )
...
* Revert "Cache package release for compression change in windows (#1281 )"
This reverts commit b2287326447a6d61c109af734947c7608be85900.
* Update release version to patch
2022-12-27 16:00:28 +05:30