Commit Graph

539 Commits (8d70dfb79988fc04526b40c7f09a6ddd69d5d356)
 

Author SHA1 Message Date
Tanuj Kumar Mishra 804b679d21
Merge branch 'main' into update-docs 2 years ago
Kurt McKee c9869a589f
Fix a whitespace typo (#1074) 2 years ago
Tanuj Kumar Mishra 003f5452bf
Merge branch 'main' into update-docs 2 years ago
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
2 years ago
Lovepreet Singh 76ee6bdfdc
Merge branch 'main' into pdotl-patch-1 2 years ago
Sankalp Kotewar 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 <bishal-pdmsft@github.com>

* 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 <bishal-pdmsft@github.com>

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* Update CACHING.md

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

* 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 <bishal-pdmsft@github.com>
2 years ago
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.
2 years ago
Vipul 87396fe6b4
Merge pull request #1065 from actions/vsvipul/dep-fix
Update json5 package version
2 years ago
Vipul e630eda107 Fix json5 package version 2 years ago
Sampark Sharma 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 <pdotl@github.com>

* Address review comments

Co-authored-by: Lovepreet Singh <pdotl@github.com>
2 years ago
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
2 years ago
Sankalp Kotewar 1f414295fe
Fixed broken link (#1057) 2 years ago
Tanuj Kumar Mishra 365406cb70
Merge pull request #1051 from uhooi/feature/add_mint_example
Add Mint example
2 years ago
uhooi d6217569d5 Update Mint example 2 years ago
uhooi 84e54000da Merge remote-tracking branch 'origin/main' into feature/add_mint_example 2 years ago
Lovepreet Singh d0e7eb01c9
Merge branch 'main' into update-docs 2 years ago
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
2 years ago
Lovepreet Singh d1507cccba
Merge pull request #1042 from me-and/correct-readme-re-windows
README.md: remove outdated Windows cache tip link
2 years ago
Lovepreet Singh 3337563725
Merge branch 'main' into correct-readme-re-windows 2 years ago
SIGUI Kessé Emmanuel d70353d8a4 📝 #1045 update using the `set-output` command is deprecated 2 years ago
Markus Mützel 60c7666709
save/README.md: Fix typo in example (#1040)
Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
2 years ago
Adam Dinwoodie b053f2b699
Fix formatting error in restore/README.md (#1044) 2 years ago
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.
2 years ago
Sampark Sharma c1a5de879e
Upgrade codeql to v2 (#1023)
* Upgrade codeql to v2

* Update codeql.yml

Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
2 years ago
Sampark Sharma 9b0be58822
Release compression related changes for windows (#1039)
* Release compression related changes for windows

* Update license
2 years ago
Sankalp Kotewar 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 <bishal-pdmsft@github.com>

* Update restore/action.yml

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

* Update restore/action.yml

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

* Update restore/action.yml

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

* Update restore/action.yml

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

* 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 <bishal-pdmsft@github.com>

* Update restore/README.md

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

* Update restore/README.md

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

* Update save/README.md

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

* Update save/README.md

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

* 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 <mbourgon@gmail.com>
Co-authored-by: Vipul <vsvipul@github.com>
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
Co-authored-by: Tanuj Kumar Mishra <tanuj077@users.noreply.github.com>
Co-authored-by: Sampark Sharma <phantsure@github.com>
2 years ago
teatimeguest ac25611cae
docs: fix an invalid link in workarounds.md (#929) 2 years ago
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.
2 years ago
Deepak Dahiya fb86cbf360
Updated node example (#1008)
* Updated node example

* Update examples.md
2 years ago
Sankalp Kotewar a57932faba
Merge pull request #1014 from jongwooo/chore/use-built-in-cache-action
chore: Use built-in cache action to cache dependencies
2 years ago
jongwooo 04b13caea4 chore: Use built-in cache action to cache dependencies
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2 years ago
Sankalp Kotewar 941bc71a24
Merge pull request #1004 from jongwooo/chore/use-cache-in-check-dist
Use cache in check-dist.yml
2 years ago
Jongwoo Han 08d8639046
Merge branch 'main' into chore/use-cache-in-check-dist 2 years ago
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
2 years ago
jongwooo 35f4702f6c refactor: Use early return pattern to avoid nested conditions
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2 years ago
jongwooo e050ebdd63 chore: Use setup-node action to cache dependencies 2 years ago
Jongwoo Han 0d47d164e9
Merge branch 'main' into chore/use-cache-in-check-dist 2 years ago
Vipul e2d614414f
Merge pull request #1007 from actions/phantsure/npm-fix
Fix npm vulnerability
2 years ago
Sampark Sharma 532752012e
Change with new dependencies 2 years ago
Sampark Sharma b26da1fc31
Fix license 2 years ago
Sampark Sharma ce61cc4d24
Fix license test 2 years ago
Sampark Sharma 268ae08cbc
Fix npm vulnerability 2 years ago
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"
2 years ago
Vipul 24f54d74c0
Revert "Bump minimatch from 3.0.4 to 3.1.2" 2 years ago
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
2 years ago
Sampark Sharma 58a0402e7d
Merge branch 'main' into dependabot/npm_and_yarn/minimatch-3.1.2 2 years ago
jongwooo 7920f570b8 Use cache in check-dist.yml
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2 years ago
Vipul f8116c8945
Bug fix in PR assignee workflow 2 years ago
Vipul 2a6cd14175
Add assignee to PR automatically 2 years ago
Vipul 651d82954c
Change pull_request to pull_request_target for PR review 2 years ago