Commit Graph
220 Commits
Author SHA1 Message Date
Lovepreet Singh cd561cfa0e Fix bug with version shortcircuiting because of version being null 2023-02-20 12:51:49 +00:00
Lovepreet Singh a6d4a2a1d4 bump version 2023-02-20 10:32:34 +00:00
Lovepreet Singh 4809ec0152 Test passing quiet as argument 2023-02-20 10:30:41 +00:00
Lovepreet Singh aebf1f5f2e Add debug statements 2023-02-20 10:05:34 +00:00
Sampark Sharma 4a896687cd Release patch version update for cache (#1338) 2023-02-09 17:21:19 +05:30
Christoph Reiter bb9f0aa1c0 Don't set the MSYS env var globally (#1329)
85bb581273 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 85bb581273 Cache package release for compression change in windows with symlink fix (#1291)
* Cache package release for compression change in windows

This reverts commit d4fc1ac928.

* 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
Ferenc Hammerl f7cb61ec65 Merge pull request #1278 from actions/fhammerl/node-v16-and-toolkit-fixes
Migrate dev environment and workflows to node16
2023-01-03 14:02:07 +01:00
Ferenc Hammerl daf03dfdcb Merge branch 'main' of https://github.com/actions/toolkit into fhammerl/node-v16-and-toolkit-fixes 2023-01-03 11:58:29 +01:00
Sampark Sharma d4fc1ac928 Revert "Cache package release for compression change in windows" (#1289)
* Revert "Cache package release for compression change in windows (#1281)"

This reverts commit 6140e090c3.

* Update release version to patch
2022-12-27 16:00:28 +05:30
6140e090c3 Cache package release for compression change in windows (#1281)
* bsd + zstd fallback implementation

* bsd + zstd fallback implementation

* Fix tar operations

* Add -v option for testing

* Fix order of args for tar

* Add GNUtar as default on windows

* Fix test

* Fix tar tests

* Fix lint issues

* Fix windows gnutar test case

* Temporarily remove thhe condition that prevents zstd usage on windows unless with GNUtar

* Address some comments and correct compression commands

* Add windows bsdtar test

* Fix windows test

* Fix test

* Separate args

* Fix old tests

* Add new tests

* Fix tests

* Fix lint test

* Refactor code

* Address review comments

* Fix test

* Fix tar test

* Add await to async function calls

* Fix test

* Update for beta release

* Fix audit issues

* Add fallback to gzip compression if cache not found

* Fix test

* Add test

* Address review comments

* Revert Address review comments

* Release 3.1.0-beta.2 cache package

* Fix issues

* Reconfigure catch block

* Add debug logging for gzip fall back

* Fix test

* Add end to end test for cache using bsd on windows
and address review comments

* Fix test

* Fix test

* Fix tests

* Add better comments

* Update packages/cache/src/internal/cacheHttpClient.ts

Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>

* Address review comments

* Update for new beta cache package release

* Address bugbash issues

* Fix tests

* Release new actions/cache minor version

Co-authored-by: Lovepreet Singh <pdotl@github.com>
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2022-12-22 20:47:35 +05:30
Sampark Sharma 6bee3f6060 Merge pull request #1234 from actions/phantsure/version-logging
Add logs for cache version on miss
2022-12-22 11:48:58 +05:30
Sampark Sharma 7c2a739c46 FIx test 2022-12-21 10:30:22 +00:00
Sampark Sharma 8dd212fee6 Merge branch 'phantsure/version-logging' of https://github.com/actions/toolkit into phantsure/version-logging 2022-12-21 10:27:13 +00:00
Sampark Sharma 5d6d35b73d Address review comments 2022-12-21 10:24:52 +00:00
Sampark SharmaandBishal Prasad b1a2bd1644 Update packages/cache/src/internal/cacheHttpClient.ts
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2022-12-16 18:17:37 +05:30
Sampark Sharma 752089c1c4 Fix response code 2022-12-16 05:55:53 +00:00
Sampark Sharma afe51325f8 Add current scope from github ref 2022-12-16 05:54:48 +00:00
Ferenc Hammerl 0b2e4e0229 Fix audit 2022-12-14 01:27:55 +01:00
Sampark Sharma be2d5b017e Fix test 2022-12-13 11:36:10 +00:00
Sampark Sharma 95678e4e1c Fix tests 2022-12-13 11:25:40 +00:00
Sampark Sharma 0bfca3c291 Merge pull request #1238 from actions/revert-1232-phantsure/gnutar_windows
Revert "Add GNUtar as default in windows"
2022-11-17 12:42:10 +05:30
Sampark Sharma 4ade9d4c1a Revert "Add GNUtar as default in windows" 2022-11-17 12:26:27 +05:30
Sampark Sharma ac6e8f113d Merge pull request #1232 from actions/phantsure/gnutar_windows
Add GNUtar as default in windows
2022-11-16 16:55:59 +05:30
Sampark Sharma a1032ac8be Address review comments 2022-11-15 11:04:24 +00:00
Sampark Sharma 147209bcc3 Address review comments 2022-11-15 10:32:24 +00:00
Sampark Sharma db0e76705d Address review comments 2022-11-15 10:18:46 +00:00
Sampark Sharma a4e0ab9aed Fix tests 2022-11-15 08:48:29 +00:00
Sampark Sharma cb8659f414 Address comments 2022-11-15 08:41:04 +00:00
Sampark Sharma 1c598e6f90 Fix tests 2022-11-14 10:25:17 +00:00
Sampark Sharma 10f0f130f2 Fix tests 2022-11-14 10:11:46 +00:00
Sampark Sharma be8b56eaf5 Address review comments 2022-11-14 08:12:15 +00:00
Sampark Sharma 1765c0fd16 Remove export 2022-11-14 06:34:18 +00:00
Sampark Sharma 54d762b585 Revert "Add logs for cache version on miss"
This reverts commit af8783ee87.
2022-11-14 06:33:53 +00:00
Sampark Sharma 05ca7ae51e Add logs for cache version on miss 2022-11-14 06:31:26 +00:00
Sampark Sharma af8783ee87 Add logs for cache version on miss 2022-11-14 05:24:09 +00:00
Sampark Sharma 77aef0ed4c Fix tests 2022-11-10 15:50:06 +00:00
Sampark Sharma e8091e7b94 Fix GNUtar path 2022-11-08 08:29:31 +00:00
Sampark Sharma cc292001eb Fix tests 2022-11-08 06:43:28 +00:00
Sampark Sharma 802b275be8 Fix gnutar check on windows 2022-11-07 13:43:54 +00:00
Sampark Sharma 43d72f5923 Add gnuTar as default in windows 2022-11-07 13:39:07 +00:00
Sankalp Kotewar 575d26ed71 Merge pull request #1217 from actions/kotewar/release-new-version
Upgraded actions/cache version to 3.0.6
2022-10-19 00:37:15 +05:30
Sankalp Kotewar 719d1cc263 Update RELEASES.md 2022-10-18 23:14:31 +05:30
Sankalp Kotewar 2b1ed72c70 Upgraded actions/cache version to 3.0.6 2022-10-18 22:56:17 +05:30
Sankalp Kotewar 4f3406368e Merge pull request #1215 from Kurt-von-Laven/abort-controller
Declare dependency on `@azure/abort-controller`
2022-10-18 22:30:56 +05:30
Sankalp Kotewar 2c65c4b864 Fixed environment variable in the docs. (#1216) 2022-10-18 12:31:00 +05:30
Kurt von Laven f30bbb7a01 Declare dependency on @azure/abort-controller 2022-10-17 18:05:26 -07:00
Lovepreet Singh 8ec1456a45 Merge pull request #1206 from actions/pdotl-patch-1
Patch @actions/cache to use @action/core version 1.10.0
2022-10-13 15:39:35 +05:30
Lovepreet Singh 181583b22f Fix package-lock.json 2022-10-13 09:45:52 +00:00
Lovepreet Singh d102a29bc0 Update RELEASES.md 2022-10-13 09:36:33 +00:00