Compare commits

..
Author SHA1 Message Date
Sankalp Kotewar fea6b35227 Updated licenses 2023-03-09 18:43:02 +05:30
Sankalp Kotewar 07fa145ee9 Updated license 2023-03-09 12:55:21 +00:00
Sankalp Kotewar 45f5ee7f01 Changed segment size to 128mb & timeout to 10 min 2023-03-09 12:54:53 +00:00
Marc MuellerandSankalp Kotewar 940f3d7cf1 Add lookup-only option (#1041)
* Add new actions/cache version (with dryRun support)

* Add dry-run option

* Changes after rebase

* Update readme

* Rename option to lookup-only

* Update test name

* Update package.json + changelog

* Update README

* Update custom package version

* Update custom package version

* Update @actions/cache to 3.2.0

* Code review

* Update log statement

* Move test case

---------

Co-authored-by: Sankalp Kotewar <[email protected]>
2023-03-09 18:00:28 +05:30
Kotokaze e0d62270e2 docs: Add missing permission in cache delete example (#1123) 2023-02-27 23:40:04 +05:30
Lovepreet Singh 69d9d449ac Merge pull request #1118 from actions/pdotl/zstd-hotfix
Fix zstd not being used after zstd version upgrade to 1.5.4 on hosted runners
2023-02-21 15:32:12 +05:30
Lovepreet Singh 8d3a1e02aa Fix license 2023-02-20 20:03:56 +00:00
Lovepreet Singh b1db4b4897 Fix zstd breaking after new version release 2023-02-20 19:51:54 +00:00
Lovepreet Singh 7d4d6f7ffd Update package-lock.json 2023-02-20 19:42:58 +00:00
Lovepreet Singh 8f7fa5d715 Bump @actions/cache version 2023-02-20 19:41:53 +00:00
Lovepreet Singh 95b455a0fb 3.2.6 2023-02-20 19:40:25 +00:00
Deepak Dahiya 81b7281936 Updated branch in Force deletion of caches (#1108)
* Updated branch in Force deletion of caches

Fixes this issue https://github.com/actions/cache/issues/1107

* Update tips-and-workarounds.md
2023-02-14 14:41:58 +05:30
Sampark Sharma 6998d139dd Release patch version update (#1105) 2023-02-10 11:44:56 +05:30
Sankalp Kotewar 2b8105bdae Fixing paths for OSes (#1101) 2023-02-03 14:32:26 +05:30
Sankalp Kotewar e08330827d Fixed typos and formatting in docs (#1076)
* Removed extra code from readme examples

* Formatted and fixed typos
2023-02-03 09:53:09 +05:30
Josh SorefandSankalp Kotewar 22d3da765b Rewrite readmes (#1085)
* Improve readmes

* Add markdown for default value

Co-authored-by: Sankalp Kotewar <[email protected]>

---------

Co-authored-by: Sankalp Kotewar <[email protected]>
2023-01-31 16:01:15 +05:30
Marc Mueller 627f0f41f6 Add fail-on-cache-miss option (#1036)
* Add fail-on-cache-miss option

* Small improvements

* Changes after rebase

* Update description

* Only fail if no cache entry is found

* Code review

* Update readme

* Add additional test case

* Bump version + changelog

* Update package-lock.json

* Update Readme
2023-01-30 16:40:58 +05:30
Lovepreet Singh 8e3048d0f7 Merge pull request #1089 from maybeec/patch-1
Added another usage hint to foresee #1072
2023-01-27 16:34:23 +05:30
Malte BrunnliebandLovepreet Singh 1b004e8a69 Update tips-and-workarounds.md
Co-authored-by: Lovepreet Singh <[email protected]>
2023-01-27 09:07:57 +01:00
Malte Brunnlieb 75b110bc85 Added another hint to foresee #1072 2023-01-27 06:35:14 +01:00
Kevin P. Fleming 2b5a782c64 Update caching-strategies.md (#1084)
Correct typo; `restore` should be `save'.
2023-01-22 19:20:12 +05:30
Lovepreet Singh 6c2de3ba98 Merge pull request #1081 from vHeemstra/patch-1
chore: Fix syntax error typo
2023-01-20 10:49:48 +05:30
Philip b63536828e there as well ;) 2023-01-19 21:08:05 +01:00
Philip cd2aaa9df8 chore: Fix syntax error typo 2023-01-19 21:04:46 +01:00
Pallav Dhobley 9b7ef12f3e Merge pull request #1077 from actions/pallavx-patch-1
Introduce add-to-project step for new issues/PRs & rename workflow files
2023-01-18 16:32:37 +05:30
Pallav Dhobley 3c08cab74f Introduce add-to-project step & rename add-reviewer-pr workflow file 2023-01-18 10:20:43 +00:00
Pallav Dhobley 8315026919 Add add-to-project step & rename workflow assign-issue workflow file
We are updating the workflows to auto-add new issues & PR to actions/cache project board.
2023-01-18 15:42:12 +05:30
Jongwoo HanandShubham Tiwari 4791017169 Update workflows to use reusable-workflows (#1066)
* Update workflows to use reusable-workflows

Signed-off-by: jongwooo <[email protected]>

* fix: Update the out-of-date metadata files

Signed-off-by: jongwooo <[email protected]>

Signed-off-by: jongwooo <[email protected]>
Co-authored-by: Shubham Tiwari <[email protected]>
2023-01-17 17:27:27 +05:30
22cbf49050 Fix referenced output key in save action readme (#1061)
Co-authored-by: Vipul <[email protected]>
Co-authored-by: Sankalp Kotewar <[email protected]>
2023-01-16 17:41:13 +05:30
Tanuj Kumar Mishra 5868318cdc Merge pull request #1046 from siguikesse/update-docs
📝 #1045 update using the `set-output` command is deprecated
2023-01-16 17:35:02 +05:30
Tanuj Kumar Mishra 804b679d21 Merge branch 'main' into update-docs 2023-01-16 16:21:41 +05:30
Kurt McKee c9869a589f Fix a whitespace typo (#1074) 2023-01-16 06:47:28 +05:30
Tanuj Kumar Mishra 003f5452bf Merge branch 'main' into update-docs 2023-01-12 16:48:49 +05:30
Lovepreet Singh efacb0248b Merge pull request #1068 from actions/pdotl-patch-1
Add gnu tar and zstd as pre-requisites for windows self-hosted runners in README
2023-01-12 16:13:41 +05:30
Lovepreet Singh 76ee6bdfdc Merge branch 'main' into pdotl-patch-1 2023-01-12 16:07:16 +05:30
Sankalp KotewarandBishal Prasad 9183691e97 Cache recipes for cache, restore and save actions (#1055)
* Added outline and cache basics

* Update CACHING.md

* Added info about key and restore keys

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Review comments and some snippets

* Updated doc with comments

* Formatted sub headings

* Markdown linting

* Added paths

* Fixed heading

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update CACHING.md

Co-authored-by: Bishal Prasad <[email protected]>

* Updated paths

* Renamed file and added readme reference

* Fixed heading of a section

* Update README.md

* Moved back section to strategies

* Reverted to older version

* Fixed broken link

Co-authored-by: Bishal Prasad <[email protected]>
2023-01-12 12:00:47 +05:30
Lovepreet Singh 094a24099d Add gnu tar and zstd as pre-requisites for windows self-hosted runners
## Context

There have been customer requests to document installation of gnu tar and zstd for self-hosted runners. We had them documented in workarounds before. Adding them to pre-requisites for better visibility for folks using self-hosted windows runners.
2023-01-10 22:52:32 +05:30
Vipul 87396fe6b4 Merge pull request #1065 from actions/vsvipul/dep-fix
Update json5 package version
2023-01-09 16:08:15 +05:30
Vipul e630eda107 Fix json5 package version 2023-01-09 10:28:50 +00:00
Sampark SharmaandLovepreet Singh 58c146cc91 Release support for cross-os caching as opt-in feature (#1060)
* Release support for cross-os caching as opt-in feature
Add documentation for cross-os caching

* Apply suggestions from code review

Co-authored-by: Lovepreet Singh <[email protected]>

* Address review comments

Co-authored-by: Lovepreet Singh <[email protected]>
2023-01-09 11:01:52 +05:30
Sampark Sharma 6fd2d4538c Add support to opt-in enable cross-os caching on windows (#1056)
* Add support to opt-in enable cross-os caching on windows

* Fix tests

* Address review comments and update tests

* Fix tests

* Address review comments

* Address review comments
2023-01-05 16:49:13 +05:30
Sankalp Kotewar 1f414295fe Fixed broken link (#1057) 2023-01-05 12:14:32 +05:30
Tanuj Kumar Mishra 365406cb70 Merge pull request #1051 from uhooi/feature/add_mint_example
Add Mint example
2022-12-30 11:00:22 +05:30
uhooi d6217569d5 Update Mint example 2022-12-29 22:28:56 +09:00
uhooi 84e54000da Merge remote-tracking branch 'origin/main' into feature/add_mint_example 2022-12-29 22:27:37 +09:00
Lovepreet Singh d0e7eb01c9 Merge branch 'main' into update-docs 2022-12-29 13:29:36 +05:30
Sampark Sharma 4723a57e26 Revert compression changes related to windows but keep version logging (#1049)
* Revert compression changes related to windows
 due to symlink issues

* Added tips and workarounds for cross os
2022-12-27 16:38:40 +05:30
Lovepreet Singh d1507cccba Merge pull request #1042 from me-and/correct-readme-re-windows
README.md: remove outdated Windows cache tip link
2022-12-26 15:19:43 +05:30
Lovepreet Singh 3337563725 Merge branch 'main' into correct-readme-re-windows 2022-12-26 11:44:54 +05:30
SIGUI Kessé Emmanuel d70353d8a4 📝 #1045 update using the set-output command is deprecated 2022-12-26 07:12:46 +01:00
Markus MützelandSankalp Kotewar 60c7666709 save/README.md: Fix typo in example (#1040)
Co-authored-by: Sankalp Kotewar <[email protected]>
2022-12-26 10:19:10 +05:30
Adam Dinwoodie b053f2b699 Fix formatting error in restore/README.md (#1044) 2022-12-26 10:10:47 +05:30
Adam Dinwoodie 501277cfd7 README.md: remove outdated Windows cache tip link
As of 9b0be58 (Release compression related changes for windows (#1039),
2022-12-23), the section of tips-and-workarounds.md referring to
improving cache restore performance on Windows no longer exists, so
don't link to it from README.md.
2022-12-24 13:15:08 +00:00
Sampark SharmaandSankalp Kotewar c1a5de879e Upgrade codeql to v2 (#1023)
* Upgrade codeql to v2

* Update codeql.yml

Co-authored-by: Sankalp Kotewar <[email protected]>
2022-12-23 11:58:28 +05:30
Sampark Sharma 9b0be58822 Release compression related changes for windows (#1039)
* Release compression related changes for windows

* Update license
2022-12-23 11:49:17 +05:30
c17f4bf466 GA for granular cache (#1035)
* Add example for Haskell Stack

* Revert "Add example for Haskell Stack"

* Basic implementation

* Updated variable name

* Adding wrapper class

* Changed logs to warnings

* added debug logs

* experimenting

* Test

* test

* new try

* test

* Impl separated

* Reverted wrapper changes

* Added test cases

* Some cleanup

* Formatted document

* Fixed test cases issues

* Slight modification for test cases check

* Updated new actions' input descriptions

* Reverted custom asks implemented and added wrapper

* refactor into a generic outputter

* Readme draft for new actions

* Generated dist

* Fixed breaking test case

* Removed return type in promise

* Removed commented lines

* Calling methods from same file

* dist

* update save as well

* fix merge

* Changes for beta release

* Update dist folder

* Fixed formatting

* dist

* Add support for gzip fallback for restore of old cache on windows

* Fixed test cases

* Fixed test cases

* Added restore only and save only test cases

* Updated new actions dist files

* Removed comments

* Fixed inputs

* Renamed variables and added tests

* Fixed breaking test case

* Fixed review comments and tests

* added stateprovider changes

* Deleted stateprovider tests until added

* Added stateprovider test cases

* Fixed breaking test case

* Updated outputs of restore action

* Changes for beta release

* Update dist folder

* Add support for gzip fallback for restore of old cache on windows

* update for new beta release

* Update save/action.yml

Co-authored-by: Bishal Prasad <[email protected]>

* Update restore/action.yml

Co-authored-by: Bishal Prasad <[email protected]>

* Update restore/action.yml

Co-authored-by: Bishal Prasad <[email protected]>

* Update restore/action.yml

Co-authored-by: Bishal Prasad <[email protected]>

* Update restore/action.yml

Co-authored-by: Bishal Prasad <[email protected]>

* Added more assertions as values can't be checked

* Removed unused code

* Merged beta branch and resolved conflicts

* Added save readme

* Updates to save readme

* Renamed output

* Added cache hit info in readme

* Update restore/README.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update restore/README.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update restore/README.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update save/README.md

Co-authored-by: Bishal Prasad <[email protected]>

* Update save/README.md

Co-authored-by: Bishal Prasad <[email protected]>

* Removed verbose statements

* Repositioned new actions introduction

* Added test case for restore state

* Addressed review comments

* nit

* nit: added language to code blocks

* Updated beta version to 3.2.0-beta.1

* Added stateprovider mock implementations

* Linting errors fixed

* Save-only warning added

* Updated return ID to -2

* Removed -2 error code

* Removed comment

* Updated cache npm lib version

* Updated license version

* Updated releases.md

* Updated readme with the new actions in what's new

Co-authored-by: Malo Bourgon <[email protected]>
Co-authored-by: Vipul <[email protected]>
Co-authored-by: Bishal Prasad <[email protected]>
Co-authored-by: Tanuj Kumar Mishra <[email protected]>
Co-authored-by: Sampark Sharma <[email protected]>
2022-12-21 19:38:44 +05:30
teatimeguest ac25611cae docs: fix an invalid link in workarounds.md (#929) 2022-12-11 14:34:57 +05:30
A. Pascual dc097e3bb9 Update examples.md (#1026)
According with the behavior description the id of "Get npm cache directory" must be "npm-cache-dir".

I checked it in my own project.
2022-12-11 12:49:22 +05:30
Deepak Dahiya fb86cbf360 Updated node example (#1008)
* Updated node example

* Update examples.md
2022-12-07 14:55:01 +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 <[email protected]>
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
jongwooo 35f4702f6c refactor: Use early return pattern to avoid nested conditions
Signed-off-by: jongwooo <[email protected]>
2022-12-02 18:12:53 +09: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
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
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
Sampark Sharma 268ae08cbc Fix npm vulnerability 2022-11-30 08:23:43 +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 <[email protected]>
2022-11-30 01:03:16 +09:00
Vipul f8116c8945 Bug fix in PR assignee workflow 2022-11-29 13:19:00 +05:30
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] <[email protected]>
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
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 PrasadandSankalp Kotewar 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 <[email protected]>

* Use ubuntu/squid instead of datadog/squid

Co-authored-by: Sankalp Kotewar <[email protected]>
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 TiwariandLovepreet Singh ac8075791e Actions/cache release 3.0.9 (#930)
* Release

* Update RELEASES.md

Co-authored-by: Lovepreet Singh <[email protected]>
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
Sankalp Kotewar a404368986 Updated actions/cache version to 3.0.2 2022-08-09 16:43:43 +00:00
Lovepreet Singh f4278025ab Merge pull request #887 from actions/pdotl-version-patch
Update toolkit's cache npm module to latest. Bump cache version to v3.0.6
2022-08-05 12:38:26 +05:30
Lovepreet Singh 9916fe1701 Update cache version in licences 2022-08-04 10:46:56 +00:00
Lovepreet Singh 318935ef66 Update README and RELEASES 2022-08-04 10:37:56 +00:00
Lovepreet Singh 85efbb58b9 Update cache npm module to latest 2022-08-04 10:00:08 +00:00
Sankalp Kotewar 4387dbc81a Merge pull request #835 from shivamarora1/clojure-lein-example
feat: 🎸 add example for clojure lein project deps
2022-08-01 13:27:13 +05:30
Vipul 71e3ee5cce Add phantsure to PR reviewers 2022-07-28 00:10:09 +05:30
Vipul c316eb7911 Add phantsure to issue assignment 2022-07-28 00:09:39 +05:30
Shubham Tiwari 0865c47f36 new release (#855) 2022-07-13 10:27:51 +05:30
Shubham Tiwari 354a2ae15e Consuming 3.0 actions/cache (#834)
* Consuming 3.0 actions/cache

* formatting and error

* updated package version

* resolve package

* dist

* review comment

* dist

* dist
2022-07-07 21:56:17 +05:30
Vipul baed3516c3 Merge pull request #530 from axelson/document-where-to-cache
Make it more obvious that the cache call does double duty
2022-06-27 10:56:37 +05:30
VipulandLucas Costi 8829e97be1 Update README.md
Co-authored-by: Lucas Costi <[email protected]>
2022-06-27 10:48:52 +05:30
Vipul eec8cd3f5f Merge pull request #836 from actions/vsvipul/fix-auto-assign
Add kotewar and remove phantsure from auto-assignees lists
2022-06-26 20:03:54 +05:30
Vipul 5cc84c0123 Add kotewar and remove phantsure from auto-assignees lists 2022-06-26 05:26:49 +00:00
Shivam Arora a0e530f115 feat: 🎸 add example for clojure lein project deps
In Clojure, Lein tool is used to generate template for various projects.
Lein project metadata (including project dependencies) are stored in
prject.clj (in root directory) file. Lein downloads dependencies in
classpath (~/.m2/repository). So here I am caching ~/.m2/repository path
for reusing cache in subsequent builds.
2022-06-26 00:39:24 +05:30
Sampark Sharma afc669e7fc Merge pull request #819 from mpilgrem/haskell-stack-example
Adapt existing Haskell Stack example for Windows
2022-06-23 16:13:06 +05:30
Vipul a0efc56c52 Use pull_request_target instead of pull_request
Fixes autoassign reviewer for PRs from forked repos.
2022-06-21 22:38:08 +05:30
Mike Pilgrem d25c51bbfd Adapt existing Haskell Stack example for Windows
The default `STACK_ROOT` is `~/.stack` only on Unix-like operating systems. On Windows, the default is `%APPDATA%/stack` (usually `%HOME%\AppData\Roaming\stack`).

On Unix-like OSs, Stack stores GHC and other tools in a `programs` directory in the `STACK_ROOT`. On Windows, Stack stores those tools and MSYS2 in `%LOCALAPPDATA%\Programs\stack` (usually `%HOME%\AppData\Local\Programs\stack`).
2022-06-21 13:15:08 +01:00
Vipul a080a3bda4 Merge pull request #816 from lobis/main
Fixed bad yaml in README example
2022-06-21 09:55:20 +05:30
Luis Obis 02be3a9c73 fixed bad yaml in README example 2022-06-08 21:43:57 +02:00
Sankalp Kotewar c3f1317a9e Merge pull request #813 from actions/users/kotewar/upgrading-cache-to-v2.0.6
Updated README file with release info
2022-06-07 13:07:13 +05:30
Sankalp Kotewar d0a54b996c Fixed typo 2022-06-07 07:14:00 +00:00
Sankalp Kotewar 8c5bd0c82d Updated README file with release info 2022-06-07 07:11:42 +00:00
Sankalp Kotewar c9c0f73558 Merge pull request #812 from actions/users/kotewar/upgrading-cache-to-v2.0.6
Updated @actions/cache to v2.0.6
2022-06-07 12:27:10 +05:30
Sampark Sharma 2b6caae3c9 Merge pull request #495 from ostera/patch-1
Add sample cache for Erlang with Rebar3
2022-06-06 18:39:03 +05:30
Sankalp Kotewar dd58d1315f Added release info and upgraded version 2022-06-06 12:31:18 +00:00
Leandro Ostera acace7fa1b Merge branch 'main' into patch-1 2022-06-06 14:26:51 +02:00
Sampark Sharma 438628ac22 Merge pull request #554 from albertstill/improve-restore-key-docs
Improve restore-key documentation
2022-06-06 17:29:02 +05:30
Sankalp Kotewar c296e6a08c Updated @actions/cache version in license file 2022-06-06 09:55:39 +00:00
Sankalp Kotewar 7ed7f22ed8 Updated actions/cache to v2.0.6 2022-06-06 09:40:27 +00:00
Sankalp Kotewar 30f413bfed Merge pull request #808 from actions/users/kotewar/update-actions-cache-version
Upgraded @actions/cache to 2.0.5
2022-05-31 12:33:10 +05:30
Sankalp Kotewar f2ea0f25f2 Updated Readme with what's new and removed v2 info 2022-05-31 03:33:14 +00:00
Sankalp Kotewar d5956bbc3c Updated release and package versions 2022-05-30 12:01:54 +00:00
Sankalp Kotewar a686c72e4a Revert "Updated package version to 3.0.3 and dependencies"
This reverts commit 4ce1a96732.
2022-05-30 11:54:57 +00:00
Sankalp Kotewar 8e680ea440 Revert "Added release information for 3.0.2 in RELEASES.md"
This reverts commit c376fc84c9.
2022-05-30 11:54:45 +00:00
Sankalp Kotewar c376fc84c9 Added release information for 3.0.2 in RELEASES.md 2022-05-30 09:03:33 +00:00
Sankalp Kotewar 4ce1a96732 Updated package version to 3.0.3 and dependencies 2022-05-30 08:03:00 +00:00
Sankalp Kotewar a2bd439f8e Updated license version and dist 2022-05-30 06:36:08 +00:00
Sankalp Kotewar 35ef551d1f Upgraded @actions/cache to 2.0.5 2022-05-30 05:59:51 +00:00
Vipul 14c4fd4871 Merge pull request #690 from pimterry/patch-1
Simplify the Node.js NPM caching example
2022-05-26 11:18:34 +05:30
Sampark Sharma 455d267066 Merge pull request #804 from actions/Phantsure-patch-1
Update README to call out for version of cache
2022-05-26 09:26:58 +05:30
Tim Perry ccaf2d8fb1 Tweak npm example description for cleaner links 2022-05-25 12:00:49 +02:00
Tim Perry 34f9efca11 Simplify the Node.js NPM caching example 2022-05-25 11:58:58 +02:00
Sampark Sharma 11dd8059a1 Addressing comments 2022-05-24 06:31:12 +00:00
Sampark Sharma e19e89eb2a Update to call out for version of cache 2022-05-20 14:38:22 +05:30
Vipul 95f200e41c Merge pull request #762 from magnetikonline/remove-win-load-app-data
Remove final incorrect instances of `%AppData%` / `%LocalAppData%` from Windows cache examples
2022-05-11 16:14:36 +05:30
Vipul 9c784e290b Merge pull request #738 from kubo39/fix-dub
[D] Fix: should use dub.selections.json for cache
2022-05-11 16:13:29 +05:30
Vipul a34051afb0 Merge pull request #802 from actions/vsvipul/alert-fix
Update ts-jest version and package-lock.json
2022-05-09 11:14:12 +05:30
vsvipul bdb21a7177 Update ts-jest version and package-lock.json 2022-05-09 00:04:20 +05:30
Vipul d55d005ab0 Merge pull request #801 from actions/vsvipul/fix-dep
Update dependencies to suppress dependabot alerts related to minimist version <"1.2.6"
2022-05-07 22:58:45 +05:30
Vipul b44d6c5cbf Update inactive issue message. 2022-05-05 11:58:06 +05:30
Deepak Dahiya 60742c2acf lint 2022-05-04 13:46:41 +00:00
Deepak Dahiya 12086c7bbf new build 2022-05-04 13:43:52 +00:00
Deepak Dahiya 626c44ce85 Update restore.ts 2022-05-04 21:26:37 +08:00
Deepak Dahiya f2d5621efc Turning error from any to unknown 2022-05-04 12:32:55 +00:00
vsvipul cab6d27614 Update licenses 2022-05-04 16:58:48 +05:30
vsvipul 69811fd677 Update other outdated red dependencies 2022-05-04 16:51:09 +05:30
vsvipul 887b9060fe Update dependencies with older minimist version 2022-05-04 16:47:33 +05:30
Vipul c6762fdd6a Set days before issue stale to 200 2022-05-04 14:54:27 +05:30
Vipul 95c3ae75f4 Add Bishal to auto assign issues list. 2022-05-04 14:41:53 +05:30
Vipul 797382fe42 Add Bishal to auto assign PRs list 2022-05-04 14:41:16 +05:30
Vipul 36dbd93a7c Create auto-assign-issues.yml 2022-05-02 13:15:05 +05:30
Vipul 45f362d0ca Create auto_assign.yml 2022-05-02 13:03:27 +05:30
Vipul ca0688b4ab Rename auto-assign.yaml to auto-assign.yml 2022-05-02 13:02:07 +05:30
Vipul ef8498dcba Create auto-assign.yaml 2022-05-02 13:01:55 +05:30
Peter Mescalchin 8f1e2e0286 Bump GitHub actions actions/checkout and actions/setup-node (#763)
* Bump GitHub actions

* Bump Node.js version used to `16.x` in workflows

* Bump `actions/upload-artifact@v3`
2022-04-12 00:06:07 +05:30
Deepak Dahiyaandvsvipul 48af2dc4a9 Update actions/cache version (#786)
* Updang actions/cache version

* New build

* Update licenses

Co-authored-by: vsvipul <[email protected]>
2022-04-11 11:56:23 +05:30
Anurag Chauhan f63a711791 Merge pull request #781 from actions/t-dedah/cacheSize
Updated @actions/cache to 2.0.1
2022-04-05 15:48:50 +05:30
vsvipul 770a27cf65 Update licenses 2022-04-05 12:17:59 +05:30
Deepak Dahiya c2131abcd8 New build 2022-04-05 06:40:46 +00:00
Deepak Dahiya 575160481d Updated @actions/cache to 2.0.1 2022-04-05 05:53:11 +00:00
Shubham Tiwari 136d96b4ae Enabling actions/cache for GHES based on presence of AC service (#774)
* initial changes

* Update package-lock.json

* Update package-lock.json

* review comments and updated test cases

* package.json

* changed name

* added new line

* changed tookit

* updated with 2.0

* changed with public released package

* ran code format

* linting errors

* Update actionUtils.test.ts

* Update cache.dep.yml

* Update package.json

* Update README.md

* Create RELEASES.md

* Update RELEASES.md

* Update package.json

* Update package-lock.json

* typo
2022-03-30 15:46:49 +05:30
Ashwin Sangemandvsvipul 7d4f40b464 Bumping up the version to fix download issue for files > 2 GB. (#775)
* Bumping up the version to fix download issue for files > 2 GB.

* Update license for cache

Co-authored-by: vsvipul <[email protected]>
2022-03-30 15:33:23 +05:30
Ashwin Sangem 2d8d0d1c9b Updated what's new. (#771)
* Updated what's new.

* Segregated major versions and added changelog.

* Update README.md
2022-03-22 14:04:39 +05:30
Peter Mescalchin 3722efebf1 Remove final incorrect instances of %AppData% / %LocalAppData% for Windows cache examples 2022-03-10 10:44:10 +11:00
Hiroki Noda 5074380beb [D] Fix: should use dub.selections.json for cache 2022-02-12 03:17:32 +09:00
Albert Still 3767bf0386 Improve restore-key documentation 2021-03-26 10:36:55 +11:00
Jason Axelson 2086306d9c Make it more obvious that the cache call does double duty 2021-02-06 13:36:42 -10:00
Leandro Ostera 009fe4e01c Add sample cache for Erlang with Rebar3 2020-12-29 13:33:30 +01:00
uhooi 35f35f44e8 Update examples.md 2020-07-19 19:52:18 +09:00
uhooi ca1c035094 Update README.md 2020-07-19 19:46:58 +09:00
62 changed files with 152132 additions and 18139 deletions
+14
View File
@@ -0,0 +1,14 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
// Features to add to the dev container. More info: https://containers.dev/implementors/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
+32
View File
@@ -0,0 +1,32 @@
<!--- Provide a general summary of your changes in the Title above -->
## Description
<!--- Describe your changes in detail -->
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->
## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->
## Screenshots (if appropriate):
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (add or update README or docs)
## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
+3 -38
View File
@@ -1,9 +1,3 @@
# `dist/index.js` is a special file in Actions.
# When you reference an action with `uses:` in a workflow,
# `index.js` is the code that will run.
# For our project, we generate this file through a build process
# from other source files.
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
name: Check dist/
on:
@@ -18,35 +12,6 @@ on:
workflow_dispatch:
jobs:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install dependencies
run: npm ci
- name: Rebuild the dist/ directory
run: npm run build
- name: Compare the expected and actual dist/ directories
run: |
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
echo "Detected uncommitted changes after build. See status below:"
git diff
exit 1
fi
id: diff
# If index.js was different than expected, upload the expected version as an artifact
- uses: actions/upload-artifact@v2
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
with:
name: dist
path: dist/
call-check-dist:
name: Check dist/
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
+2 -2
View File
@@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/stale@v3
with:
days-before-issue-stale: 365
days-before-issue-stale: 200
days-before-issue-close: 5
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 365 days with no activity. Leave a comment to avoid closing this issue in 5 days."
stale-issue-message: "This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days."
close-issue-message: "This issue was closed because it has been inactive for 5 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
+18 -24
View File
@@ -8,45 +8,39 @@ on:
jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest and windows-latest
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
uses: actions/checkout@v3
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java
# languages: go, javascript, csharp, python, cpp, java, ruby
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language
#- run: |
# make bootstrap
# make release
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
@@ -0,0 +1,22 @@
name: Assign issue
on:
issues:
types: [opened]
jobs:
run-action:
runs-on: ubuntu-latest
steps:
- name: Get current oncall
id: oncall
run: |
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT
- name: add_assignees
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.issue.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
- uses: actions/[email protected]
name: Add to Project Board
with:
project-url: https://github.com/orgs/actions/projects/12
github-token: ${{ secrets.CACHE_BOARD_TOKEN }}
+4 -13
View File
@@ -7,18 +7,9 @@ on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: Check licenses
steps:
- uses: actions/checkout@v2
- run: npm ci
- name: Install licensed
run: |
cd $RUNNER_TEMP
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
sudo tar -xzf licensed.tar.gz
sudo mv licensed /usr/local/bin/licensed
- run: licensed status
call-licensed:
name: Licensed
uses: actions/reusable-workflows/.github/workflows/licensed.yml@main
+26
View File
@@ -0,0 +1,26 @@
name: Add Reviewer PR
on:
pull_request_target:
types: [opened]
jobs:
run-action:
runs-on: ubuntu-latest
steps:
- name: Get current oncall
id: oncall
run: |
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT
- name: Request Review
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/pulls/${{ github.event.pull_request.number}}/requested_reviewers -d '{"reviewers":["${{steps.oncall.outputs.CURRENT}}"]}'
- name: Add Assignee
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
- uses: actions/[email protected]
name: Add to Project Board
with:
project-url: https://github.com/orgs/actions/projects/12
github-token: ${{ secrets.CACHE_BOARD_TOKEN }}
+11 -25
View File
@@ -5,14 +5,10 @@ on:
branches:
- main
- releases/**
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/**
paths-ignore:
- '**.md'
jobs:
# Build and unit test
@@ -24,22 +20,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/checkout@v3
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '12.x'
- name: Determine npm cache directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Restore npm cache
uses: actions/cache@v3
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
node-version: 16.x
cache: npm
- run: npm ci
- name: Prettier Format Check
run: npm run format-check
@@ -57,7 +43,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Generate files in working directory
shell: bash
run: __tests__/create-cache-files.sh ${{ runner.os }} test-cache
@@ -80,7 +66,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Restore cache
uses: ./
with:
@@ -103,14 +89,14 @@ jobs:
options: --dns 127.0.0.1
services:
squid-proxy:
image: datadog/squid:latest
image: ubuntu/squid:latest
ports:
- 3128:3128
env:
https_proxy: http://squid-proxy:3128
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Generate files
run: __tests__/create-cache-files.sh proxy test-cache
- name: Save cache
@@ -126,14 +112,14 @@ jobs:
options: --dns 127.0.0.1
services:
squid-proxy:
image: datadog/squid:latest
image: ubuntu/squid:latest
ports:
- 3128:3128
env:
https_proxy: http://squid-proxy:3128
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Restore cache
uses: ./
with:
+10 -10
View File
@@ -1,20 +1,20 @@
---
name: "@actions/cache"
version: 1.0.10
version: 3.2.1
type: npm
summary:
homepage:
summary:
homepage:
license: mit
licenses:
- sources: LICENSE.md
text: |-
The MIT License (MIT)
- sources: LICENSE.md
text: |-
The MIT License (MIT)
Copyright 2019 GitHub
Copyright 2019 GitHub
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
notices: []
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: "@actions/core"
version: 1.6.0
version: 1.10.0
type: npm
summary: Actions core lib
homepage: https://github.com/actions/toolkit/tree/main/packages/core
+2 -2
View File
@@ -1,9 +1,9 @@
---
name: "@actions/http-client"
version: 1.0.11
version: 2.0.1
type: npm
summary: Actions Http Client
homepage: https://github.com/actions/http-client#readme
homepage: https://github.com/actions/toolkit/tree/main/packages/http-client
license: mit
licenses:
- sources: LICENSE
+2 -2
View File
@@ -1,9 +1,9 @@
---
name: "@azure/abort-controller"
version: 1.0.4
version: 1.1.0
type: npm
summary: Microsoft Azure SDK for JavaScript - Aborter
homepage: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/abort-controller/README.md
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/abort-controller/README.md
license: mit
licenses:
- sources: LICENSE
-32
View File
@@ -1,32 +0,0 @@
---
name: "@azure/core-asynciterator-polyfill"
version: 1.0.2
type: npm
summary:
homepage:
license: mit
licenses:
- sources: LICENSE
text: |2
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
notices: []
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: "@azure/core-http"
version: 2.2.4
version: 3.0.0
type: npm
summary: Isomorphic client Runtime for Typescript/node.js/browser javascript client
libraries generated using AutoRest
+4 -3
View File
@@ -1,9 +1,10 @@
---
name: "@azure/core-lro"
version: 2.2.4
version: 2.5.1
type: npm
summary:
homepage:
summary: Isomorphic client library for supporting long-running operations in node.js
and browser.
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-lro/README.md
license: mit
licenses:
- sources: LICENSE
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: "@azure/core-paging"
version: 1.2.1
version: 1.5.0
type: npm
summary: Core types for paging async iterable iterators
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/core-paging/README.md
+32
View File
@@ -0,0 +1,32 @@
---
name: "@azure/core-util"
version: 1.2.0
type: npm
summary: Core library for shared utility methods
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-util/
license: mit
licenses:
- sources: LICENSE
text: |
The MIT License (MIT)
Copyright (c) 2020 Microsoft
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
notices: []
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: "@azure/logger"
version: 1.0.3
version: 1.0.4
type: npm
summary: Microsoft Azure SDK for JavaScript - Logger
homepage: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger/README.md
+3 -3
View File
@@ -1,9 +1,9 @@
---
name: "@azure/storage-blob"
version: 12.9.0
version: 12.13.0
type: npm
summary:
homepage:
summary: Microsoft Azure Storage SDK for JavaScript - Blob
homepage: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/
license: mit
licenses:
- sources: LICENSE
+6 -8
View File
@@ -1,9 +1,9 @@
---
name: "@opentelemetry/api"
version: 1.1.0
version: 1.4.0
type: npm
summary:
homepage:
summary: Public API for OpenTelemetry
homepage: https://github.com/open-telemetry/opentelemetry-js/tree/main/api
license: apache-2.0
licenses:
- sources: LICENSE
@@ -216,10 +216,8 @@ licenses:
[opentelemetry-js]: https://github.com/open-telemetry/opentelemetry-js
[discussions-url]: https://github.com/open-telemetry/opentelemetry-js/discussions
[license-url]: https://github.com/open-telemetry/opentelemetry-js-api/blob/main/LICENSE
[license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/main/api/LICENSE
[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat
[npm-url]: https://www.npmjs.com/package/@opentelemetry/api
[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fapi.svg
[docs-tracing]: https://github.com/open-telemetry/opentelemetry-js-api/blob/main/docs/tracing.md
[docs-sdk-registration]: https://github.com/open-telemetry/opentelemetry-js-api/blob/main/docs/sdk-registration.md
[docs-tracing]: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/tracing.md
[docs-sdk-registration]: https://github.com/open-telemetry/opentelemetry-js/blob/main/doc/sdk-registration.md
notices: []
+3 -3
View File
@@ -1,9 +1,9 @@
---
name: "@types/node-fetch"
version: 2.6.1
version: 2.6.2
type: npm
summary:
homepage:
summary: TypeScript definitions for node-fetch
homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node-fetch
license: mit
licenses:
- sources: LICENSE
+3 -3
View File
@@ -1,9 +1,9 @@
---
name: "@types/node"
version: 16.11.26
version: 16.18.3
type: npm
summary:
homepage:
summary: TypeScript definitions for Node.js
homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node
license: mit
licenses:
- sources: LICENSE
+2 -2
View File
@@ -1,9 +1,9 @@
---
name: minimatch
version: 3.0.4
version: 3.1.2
type: npm
summary: a glob matcher in javascript
homepage: https://github.com/isaacs/minimatch#readme
homepage:
license: isc
licenses:
- sources: LICENSE
File diff suppressed because one or more lines are too long
+23
View File
@@ -0,0 +1,23 @@
---
name: tslib
version: 2.5.0
type: npm
summary: Runtime library for TypeScript helper functions
homepage: https://www.typescriptlang.org/
license: 0bsd
licenses:
- sources: LICENSE.txt
text: |-
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
notices: []
-33
View File
@@ -1,33 +0,0 @@
---
name: universalify
version: 0.1.2
type: npm
summary: Make a callback- or promise-based function support both promises and callbacks.
homepage: https://github.com/RyanZim/universalify#readme
license: mit
licenses:
- sources: LICENSE
text: |
(The MIT License)
Copyright (c) 2017, Ryan Zimmerman <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the 'Software'), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- sources: README.md
text: MIT
notices: []
+195 -67
View File
File diff suppressed because one or more lines are too long
+109
View File
@@ -0,0 +1,109 @@
# Releases
### 3.0.0
- Updated minimum runner version support from node 12 -> node 16
### 3.0.1
- Added support for caching from GHES 3.5.
- Fixed download issue for files > 2GB during restore.
### 3.0.2
- Added support for dynamic cache size cap on GHES.
### 3.0.3
- Fixed avoiding empty cache save when no files are available for caching. ([issue](https://github.com/actions/cache/issues/624))
### 3.0.4
- Fixed tar creation error while trying to create tar with path as `~/` home folder on `ubuntu-latest`. ([issue](https://github.com/actions/cache/issues/689))
### 3.0.5
- Removed error handling by consuming actions/cache 3.0 toolkit, Now cache server error handling will be done by toolkit. ([PR](https://github.com/actions/cache/pull/834))
### 3.0.6
- Fixed [#809](https://github.com/actions/cache/issues/809) - zstd -d: no such file or directory error
- Fixed [#833](https://github.com/actions/cache/issues/833) - cache doesn't work with github workspace directory
### 3.0.7
- Fixed [#810](https://github.com/actions/cache/issues/810) - 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.
### 3.0.8
- Fix zstd not working for windows on gnu tar in issues [#888](https://github.com/actions/cache/issues/888) and [#891](https://github.com/actions/cache/issues/891).
- Allowing users to provide a custom timeout as input for aborting download of a cache segment using an environment variable `SEGMENT_DOWNLOAD_TIMEOUT_MINS`. Default is 60 minutes.
### 3.0.9
- Enhanced the warning message for cache unavailablity in case of GHES.
### 3.0.10
- Fix a bug with sorting inputs.
- Update definition for restore-keys in README.md
### 3.0.11
- Update toolkit version to 3.0.5 to include `@actions/core@^1.10.0`
- Update `@actions/cache` to use updated `saveState` and `setOutput` functions from `@actions/core@^1.10.0`
### 3.1.0-beta.1
- Update `@actions/cache` on windows to use gnu tar and zstd by default and fallback to bsdtar and zstd if gnu tar is not available. ([issue](https://github.com/actions/cache/issues/984))
### 3.1.0-beta.2
- Added support for fallback to gzip to restore old caches on windows.
### 3.1.0-beta.3
- Bug fixes for bsdtar fallback if gnutar not available and gzip fallback if cache saved using old cache action on windows.
### 3.2.0-beta.1
- Added two new actions - [restore](restore/action.yml) and [save](save/action.yml) for granular control on cache.
### 3.2.0
- Released the two new actions - [restore](restore/action.yml) and [save](save/action.yml) for granular control on cache
### 3.2.1
- Update `@actions/cache` on windows to use gnu tar and zstd by default and fallback to bsdtar and zstd if gnu tar is not available. ([issue](https://github.com/actions/cache/issues/984))
- Added support for fallback to gzip to restore old caches on windows.
- Added logs for cache version in case of a cache miss.
### 3.2.2
- Reverted the changes made in 3.2.1 to use gnu tar and zstd by default on windows.
### 3.2.3
- Support cross os caching on Windows as an opt-in feature.
- Fix issue with symlink restoration on Windows for cross-os caches.
### 3.2.4
- Added option to fail job on cache miss.
### 3.2.5
- Added fix to prevent from setting MYSYS environment variable globally.
### 3.2.6
- Fix zstd not being used after zstd version upgrade to 1.5.4 on hosted runners.
### 3.3.0
- Added option to lookup cache without downloading it.
### 3.3.1
- Reduced segment size to 128MB and segment timeout to 10 minutes to fail fast in case the cache download is stuck.

Some files were not shown because too many files have changed in this diff Show More