Compare commits

...

151 Commits

Author SHA1 Message Date
Tanuj Kumar Mishra a8dcf7856e adding save-only and restore-only entry points 2022-12-08 10:35:19 +00:00
Tanuj Kumar Mishra d463e30c26 test 2022-12-08 08:24:08 +00:00
Tanuj Kumar Mishra 790b78c6b6 removing required
removing required
2022-12-07 17:25:00 +00:00
Tanuj Kumar Mishra 7520a6a3a9 altering require 2022-12-07 17:22:59 +00:00
Tanuj Kumar Mishra a5fbe79711 adding outputs 2022-12-07 17:07:30 +00:00
Tanuj Kumar Mishra 66ef8a0951 Merge pull request #1018 from actions/bishal/outputter
Update save with a wrapper layer
2022-12-07 17:03:07 +05:30
Bishal Prasad 657c52f11e fix merge 2022-12-06 18:45:12 +00:00
Bishal Prasad 34e917cb7d Merge branch '700-actionscache-granular-cache-control' into bishal/outputter 2022-12-06 18:42:19 +00:00
Bishal Prasad ac8fc97c06 update save as well 2022-12-06 18:26:58 +00:00
Sankalp Kotewar 86712a0733 dist 2022-12-06 10:10:52 +00:00
Sankalp Kotewar d6e98d9302 Calling methods from same file 2022-12-06 10:08:26 +00:00
Sankalp Kotewar a76826ef46 Removed commented lines 2022-12-06 10:07:30 +00:00
Sankalp Kotewar e02e5113ed Removed return type in promise 2022-12-06 10:03:48 +00:00
Sankalp Kotewar 85ae5bbcea Fixed breaking test case 2022-12-06 09:36:37 +00:00
Sankalp Kotewar cce93fb2c7 Generated dist 2022-12-06 08:23:10 +00:00
Sankalp Kotewar e3d8fb0b34 Merge pull request #1016 from actions/bishal/outputter
Refactor setting output and state into a generic outputter
2022-12-05 18:10:52 +05:30
Bishal Prasad d95c048983 refactor into a generic outputter 2022-12-05 11:36:14 +00:00
Sankalp Kotewar 706c369cf1 Merge branch 'main' into 700-actionscache-granular-cache-control 2022-12-05 12:24:53 +05:30
Sankalp Kotewar a57932faba Merge pull request #1014 from jongwooo/chore/use-built-in-cache-action
chore: Use built-in cache action to cache dependencies
2022-12-05 12:24:26 +05:30
jongwooo 04b13caea4 chore: Use built-in cache action to cache dependencies
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2022-12-05 15:31:51 +09:00
Sankalp Kotewar 941bc71a24 Merge pull request #1004 from jongwooo/chore/use-cache-in-check-dist
Use cache in check-dist.yml
2022-12-05 07:56:20 +05:30
Jongwoo Han 08d8639046 Merge branch 'main' into chore/use-cache-in-check-dist 2022-12-03 23:00:34 +09:00
Sampark Sharma a2f324eeb7 Merge pull request #1013 from jongwooo/refactor/use-early-return-pattern-to-avoid-nested-conditions
refactor: Use early return pattern to avoid nested conditions
2022-12-02 16:12:03 +05:30
Sankalp Kotewar 11ab7ccfa2 Reverted custom asks implemented and added wrapper 2022-12-02 10:14:43 +00:00
jongwooo 35f4702f6c refactor: Use early return pattern to avoid nested conditions
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2022-12-02 18:12:53 +09:00
Sankalp Kotewar 4b5f33df54 Updated new actions' input descriptions 2022-12-01 08:27:08 +00:00
jongwooo e050ebdd63 chore: Use setup-node action to cache dependencies 2022-11-30 20:36:12 +09:00
Jongwoo Han 0d47d164e9 Merge branch 'main' into chore/use-cache-in-check-dist 2022-11-30 20:33:28 +09:00
Sankalp Kotewar 56a0133650 Merge branch 'main' into 700-actionscache-granular-cache-control 2022-11-30 16:20:50 +05:30
Sankalp Kotewar 19446b165a Slight modification for test cases check 2022-11-30 10:47:09 +00:00
Vipul e2d614414f Merge pull request #1007 from actions/phantsure/npm-fix
Fix npm vulnerability
2022-11-30 01:14:39 -08:00
Sampark Sharma 532752012e Change with new dependencies 2022-11-30 08:47:34 +00:00
Sankalp Kotewar 8a88690a20 Fixed test cases issues 2022-11-30 08:38:59 +00:00
Sampark Sharma b26da1fc31 Fix license 2022-11-30 08:38:44 +00:00
Sampark Sharma ce61cc4d24 Fix license test 2022-11-30 08:35:05 +00:00
Sankalp Kotewar 6e2c6a5916 Formatted document 2022-11-30 08:30:16 +00:00
Sankalp Kotewar 2c9fb32186 Merge branch 'main' into 700-actionscache-granular-cache-control 2022-11-30 13:57:39 +05:30
Sankalp Kotewar 01d96636a0 Some cleanup 2022-11-30 08:26:50 +00:00
Sampark Sharma 268ae08cbc Fix npm vulnerability 2022-11-30 08:23:43 +00:00
Sankalp Kotewar 9c5a42a7c9 Added test cases 2022-11-30 08:11:55 +00:00
Sampark Sharma b4ac56fa43 Merge pull request #1005 from actions/revert-998-dependabot/npm_and_yarn/minimatch-3.1.2
Revert "Bump minimatch from 3.0.4 to 3.1.2"
2022-11-30 13:13:30 +05:30
Vipul 24f54d74c0 Revert "Bump minimatch from 3.0.4 to 3.1.2" 2022-11-30 12:04:53 +05:30
Sampark Sharma 8d99052cbc Merge pull request #998 from actions/dependabot/npm_and_yarn/minimatch-3.1.2
Bump minimatch from 3.0.4 to 3.1.2
2022-11-30 12:02:37 +05:30
Sampark Sharma 58a0402e7d Merge branch 'main' into dependabot/npm_and_yarn/minimatch-3.1.2 2022-11-30 11:19:36 +05:30
jongwooo 7920f570b8 Use cache in check-dist.yml
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2022-11-30 01:03:16 +09:00
Sankalp Kotewar a172494938 Reverted wrapper changes 2022-11-29 10:56:53 +00:00
Sankalp Kotewar f8717682fb Impl separated 2022-11-29 09:55:41 +00:00
Sankalp Kotewar af1210e2a3 test 2022-11-29 09:51:53 +00:00
Sankalp Kotewar ab0e7714ce new try 2022-11-29 09:39:21 +00:00
Sankalp Kotewar fb4a5dce60 test 2022-11-29 09:33:03 +00:00
Sankalp Kotewar 71334c58b2 Test 2022-11-29 09:06:10 +00:00
Sankalp Kotewar 888d454557 experimenting 2022-11-29 09:03:19 +00:00
Sankalp Kotewar dddd7ce07c added debug logs 2022-11-29 08:26:52 +00:00
Sankalp Kotewar abddc4dd44 Merge remote-tracking branch 'origin/master' into 700-actionscache-granular-cache-control 2022-11-29 08:08:32 +00:00
Sankalp Kotewar 921c58ee44 Changed logs to warnings 2022-11-29 08:06:41 +00:00
Sankalp Kotewar 7f45813c72 Adding wrapper class 2022-11-29 08:02:27 +00:00
Vipul 0769f2e443 Merge branch 'main' into master 2022-11-28 23:50:15 -08:00
Vipul f8116c8945 Bug fix in PR assignee workflow 2022-11-29 13:19:00 +05:30
Sankalp Kotewar 5fe0b944ef Updated variable name 2022-11-29 07:48:11 +00:00
Vipul 2a6cd14175 Add assignee to PR automatically 2022-11-29 13:16:11 +05:30
Vipul 651d82954c Change pull_request to pull_request_target for PR review 2022-11-28 16:18:36 +05:30
dependabot[bot] cfa1b7695d Bump minimatch from 3.0.4 to 3.1.2
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 10:27:26 +00:00
Vipul fa8856311e Merge pull request #997 from actions/vsvipul/change-assignee-logic
Add oncall logic to assign issues and PRs
2022-11-28 02:26:51 -08:00
Vipul ef145dd134 Add oncall logic to assign issues and PRs 2022-11-28 07:40:19 +00:00
Sankalp Kotewar 69b8227b27 Basic implementation 2022-11-25 09:16:56 +00:00
Deepak Dahiya 6babf202a4 Readme update for deleting caches (#981)
* Readmee update for deleting caches

* minor

* minor

* PR comments

* PR comments

* PR comments

* moved to tips-and-workarounds

* minor
2022-11-21 14:43:40 +05:30
Sankalp Kotewar 5c79b3fd6c Merge pull request #986 from actions/kotewar-patch-1
Updated link for cache segment download info
2022-11-16 14:49:39 +05:30
Sankalp Kotewar 3ff04605d3 Updated link for cache segment download info 2022-11-16 14:44:08 +05:30
Vipul db8d946d18 Merge pull request #979 from asaf400/patch-2
Update hashFiles documentation reference
2022-11-13 13:54:22 +05:30
Asaf Levy 0e93819da5 Update hashFiles documentation reference
Update hashFiles documentation reference Link to the valid doc
https://docs.github.com/en/actions/learn-github-actions/expressions#hashfiles
2022-11-09 21:38:02 +02:00
Bishal Prasad 9a6a4f6079 Add more details to version section in readme (#971)
* Add more details to version section in readme

* Update README.md

Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>

* Use ubuntu/squid instead of datadog/squid

Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
2022-11-07 15:42:42 +05:30
Bishal Prasad d0af8a3ecc Change datadog/squid to Ubuntu/squid in CI check (#976) 2022-11-07 13:22:00 +05:30
Sankalp Kotewar 8bec1e4cc3 Merge pull request #961 from actions/kotewar/doc-update
Update README with clearer info about cache-hit and its value
2022-10-26 17:10:10 +05:30
Sankalp Kotewar 14f2d18ea2 Moved recommendation to skipping steps section 2022-10-26 11:15:05 +00:00
Sankalp Kotewar 083fb3041b Merge branch 'main' into kotewar/doc-update 2022-10-26 16:41:36 +05:30
Lovepreet Singh 5085ac92ef Merge pull request #963 from actions/pdotl-patch-1
Create pull_request_template.md
2022-10-26 13:42:27 +05:30
Lovepreet Singh 76639bb4e5 Create pull_request_template.md
Adding a PR template would certainly increase clarity on the PRs and also help us better review changes. This is a starter template. Please feel free to suggest changes, add/remove sections that are not relevant.
2022-10-21 20:38:51 +05:30
Sankalp Kotewar 5294b3f306 Update README.md 2022-10-19 00:41:06 +05:30
Sankalp Kotewar 4fe9c4bd54 Updated release file with correct env variable (#960) 2022-10-18 12:45:50 +05:30
Rong Rong 2b04a41915 timeout env var key is not correct in README.md (#959) 2022-10-18 10:56:49 +05:30
Lovepreet Singh 9b0c1fce7a Merge pull request #956 from actions/pdotl-version-bump
Update cache to use @actions/core@^1.10.0
2022-10-13 16:42:28 +05:30
Lovepreet Singh 18103f63fe Fix licensed status error 2022-10-13 11:03:20 +00:00
Lovepreet Singh 3e383cd9c3 Update RELEASES 2022-10-13 10:36:33 +00:00
Lovepreet Singh 43428ea056 toolkit versioon update and version bump for cache 2022-10-13 10:34:22 +00:00
Lovepreet Singh 1c73980b09 3.0.11 2022-10-13 09:02:55 +00:00
Lovepreet Singh a3f5edc237 Merge pull request #950 from rentziass/rentziass/update-actions-core
Update @actions/core to 1.10.0
2022-10-06 19:47:17 +05:30
Francesco Renzi 831ee695a5 Update licenses 2022-10-06 10:44:39 +01:00
Francesco Renzi b9c8bfe442 Update @actions/core to 1.10.0 2022-10-05 17:50:52 +01:00
Sampark Sharma 0f20846208 Merge pull request #946 from actions/Phantsure-patch-2
Call out cache not saved on hit
2022-10-04 15:14:09 +05:30
Sampark Sharma 862fc14188 Update README.md 2022-10-04 15:10:37 +05:30
Vipul f77a0d297b Merge pull request #945 from actions/vsvipul/new-release
Create new release 3.0.10
2022-10-04 12:49:26 +05:30
Vipul 50a4a3a126 Create new release 3.0.10 2022-10-04 06:47:17 +00:00
Vipul 56461b9eb0 Merge pull request #931 from ELHoussineT/patch-1
docs: Indicate that `restore-keys` uses prefix in README
2022-10-03 14:33:36 +05:30
ELHoussineT f85d12c3b2 Merge branch 'main' into patch-1 2022-10-03 10:16:35 +02:00
ELHoussineT 98044e486f Update README.md 2022-10-03 10:15:54 +02:00
Vipul edc49897ec Merge pull request #942 from actions/vsvipul/fix-sort
Remove sort logic from inputs
2022-10-03 13:29:55 +05:30
Vipul 68d96986b5 Remove sort logic from inputs 2022-10-03 06:39:10 +00:00
Shubham Tiwari ac8075791e Actions/cache release 3.0.9 (#930)
* Release

* Update RELEASES.md

Co-authored-by: Lovepreet Singh <pdotl@github.com>
2022-09-30 10:47:16 +05:30
ysato 0ff0597934 Update examples.md (#920) 2022-09-29 10:27:49 +05:30
Aparna Ravindra 12681847c6 Update README.md (#936) 2022-09-23 17:15:41 +05:30
ELHoussineT 3238536a48 Update README.md 2022-09-22 10:50:41 +02:00
Shubham Tiwari 1a78ace131 Updated the GHES warning message (#925)
* changed the error message

* format

* review comment
2022-09-20 10:47:27 +05:30
Vipul 1bc650b06c Merge pull request #922 from actions/vsvipul/add-anurag
Add anuragc617 to assignees
2022-09-14 15:00:13 +05:30
Vipul 92e01f4797 Add anuragc617 to assignees 2022-09-14 09:27:02 +00:00
Lovepreet Singh b195c997a4 Merge pull request #912 from actions/pdotl/readme-update-1
Update README to include zstd workaround for windows.
2022-08-30 14:38:09 +05:30
Lovepreet Singh 9f98a2f01c Merge branch 'main' into pdotl/readme-update-1 2022-08-30 14:02:27 +05:30
Lovepreet Singh 471fb0c87e Move workarounds to a different file 2022-08-30 08:24:10 +00:00
Vipul a213d1e898 Merge pull request #913 from actions/vsvipul-patch-2
Add a note about path expansion on Windows.
2022-08-29 17:21:30 +05:30
Vipul 0c180092a2 Add a note about path expansion on Windows. 2022-08-29 17:16:27 +05:30
Vipul c38f55d874 Merge branch 'main' into pdotl/readme-update-1 2022-08-29 11:10:51 +05:30
Vipul 2865f2c28c Merge pull request #911 from actions/vsvipul-patch-1
Remove .md files skip condition from test workflow
2022-08-29 11:09:50 +05:30
Lovepreet Singh f52a12d355 Merge remote-tracking branch 'refs/remotes/origin/pdotl/readme-update-1' into pdotl/readme-update-1 2022-08-26 09:01:04 +00:00
Lovepreet Singh a057257949 Add cross-os caching to the zstd workaround section. 2022-08-26 09:00:35 +00:00
Lovepreet Singh d1124f7857 Merge branch 'main' into pdotl/readme-update-1 2022-08-25 18:54:53 +05:30
Lovepreet Singh 7b5e3aaf23 Move remaining section of Cache segment restore timeout 2022-08-25 13:18:15 +00:00
Lovepreet Singh eb8b610ee6 Add zstd workaround to README. Add yaml formatting to code blocks. Move Cache segment restore to Known Practices section. 2022-08-25 13:14:23 +00:00
Vipul 27c0af5532 Remove .md files skip condition from test workflow 2022-08-25 16:52:00 +05:30
Lovepreet Singh 7e7820edca Move Cache segment restore timeout to Known practices and workarounds 2022-08-25 05:52:10 +00:00
Vipul 6c9470d12d Merge pull request #910 from actions/vsvipul/add-reviewers
Add pallavx and pdotl to reviewers
2022-08-25 10:04:28 +05:30
Vipul a59a2347a7 Add pallavx and pdotl to reviewers 2022-08-25 03:55:46 +00:00
Vipul d785f8b8a2 Merge pull request #908 from actions/vsvipul/fix-dep
Update @actions/core to 1.9.1
2022-08-24 17:10:07 +05:30
Vipul 81423d07fe Update licenses 2022-08-24 11:32:31 +00:00
Vipul c1dbd4593f Update @actions/core to 1.9.1 2022-08-24 11:26:37 +00:00
Bishal Prasad 5f975d03e6 Merge pull request #896 from actions/bishal-pdMSFT-patch-1
Add readme section for good practices
2022-08-23 16:33:03 +05:30
Bishal Prasad 8a9a57869f Update README.md 2022-08-23 15:20:27 +05:30
Bishal Prasad fb1d96e3ff Update README.md 2022-08-23 13:19:05 +05:30
Vipul 2048ecfa86 Merge pull request #903 from actions/vsvipul/sort-inputs
Sort inputs and remove whitespaces after exclamation
2022-08-22 21:19:36 +05:30
Sankalp Kotewar 8954b07458 Removed unnecessary backslash in regex 2022-08-22 13:05:20 +00:00
Sankalp Kotewar 0ae6818675 Formatted files with prettier 2022-08-22 12:57:35 +00:00
Vipul f316f94f31 Generate build and fix format 2022-08-22 12:45:18 +00:00
Álvaro Mondéjar 204fa1ab69 Sort inputs and remove whitespaces after exclamation at the beginning of lines 2022-08-22 12:42:01 +00:00
Sankalp Kotewar fd5de65bc8 Merge pull request #899 from actions/kotewar/download-and-compression-fix
Updated actions/cache toolkit dep to v3.0.4
2022-08-22 12:07:42 +05:30
Sankalp Kotewar d49b6bb21d Updated actions/cache toolkit dep to v3.0.4 2022-08-18 14:13:31 +00:00
Bishal Prasad 23d218be27 Add section for good practices 2022-08-14 14:35:33 +05:30
Sankalp Kotewar a7c34adf76 Merge pull request #894 from actions/kotewar/update-toolkit-version
Fix for the download stuck problem
2022-08-11 14:56:44 +05:30
Sankalp Kotewar 83394c99b7 Updated cache version in license file 2022-08-11 07:59:07 +00:00
Sankalp Kotewar e839c25979 Updated actions/cache version to 3.0.3 2022-08-11 07:57:29 +00:00
Sankalp Kotewar 33a923d660 Added release information 2022-08-09 16:48:03 +00:00