1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-27 22:49:17 +01:00
Commit graph

517 commits

Author SHA1 Message Date
David Bernard
4b381be638 Add example for Bazel 2023-03-11 19:21:37 +01:00
Marc Mueller
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 <98868223+kotewar@users.noreply.github.com>
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 Soref
22d3da765b
Rewrite readmes (#1085)
* Improve readmes

* Add markdown for default value

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

---------

Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
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 Brunnlieb
1b004e8a69
Update tips-and-workarounds.md
Co-authored-by: Lovepreet Singh <pdotl@github.com>
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 Han
4791017169
Update workflows to use reusable-workflows (#1066)
* Update workflows to use reusable-workflows

Signed-off-by: jongwooo <jongwooo.han@gmail.com>

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

Signed-off-by: jongwooo <jongwooo.han@gmail.com>

Signed-off-by: jongwooo <jongwooo.han@gmail.com>
Co-authored-by: Shubham Tiwari <64764738+tiwarishub@users.noreply.github.com>
2023-01-17 17:27:27 +05:30
Ruud Kamphuis
22cbf49050
Fix referenced output key in save action readme (#1061)
Co-authored-by: Vipul <vsvipul@github.com>
Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
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 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>
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 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>
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ützel
60c7666709
save/README.md: Fix typo in example (#1040)
Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
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