297 Commits

Author SHA1 Message Date
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 Dahiya
48af2dc4a9
Update actions/cache version (#786)
* Updang actions/cache version

* New build

* Update licenses

Co-authored-by: vsvipul <vsvipul@github.com>
v3.0.2
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
v3.0.1
2022-03-30 15:46:49 +05:30
Ashwin Sangem
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 <vsvipul@github.com>
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
Ashwin Sangem
7799d864d9
Updated the usage and docs to the major version release. (#770) 2022-03-21 14:31:26 +05:30
Ashwin Sangem
4b0cf6cc46
Merge pull request #769 from actions/users/ashwinsangem/bump_major_version
Bumped up to a major version(v3.0.0)
v3.0.0
2022-03-21 13:56:53 +05:30
vsvipul
60c606a2b4 Update licensed files 2022-03-21 12:01:49 +05:30
Ashwin Sangem
b6e9a919a7 Revert "Updated to the latest version."
This reverts commit c8425035834f98c304ecf92f5d50f41d433885c1.
2022-03-21 04:56:07 +00:00
Ashwin Sangem
c842503583 Updated to the latest version. 2022-03-21 04:53:37 +00:00
Ashwin Sangem
2b7da2a62c Bumped up to a major version. 2022-03-21 04:42:02 +00:00
Vipul
deae296ab3
Merge pull request #651 from magnetikonline/fix-golang-windows-example
Fix Golang windows example - updated `README.md` test badge markdown.
2022-03-09 18:22:38 +05:30
Vipul
c7c46bcb6d
Merge pull request #707 from duxtland/main
Add Deno cache example
2022-02-24 15:51:48 +05:30
Peter Mescalchin
6535c5fb5f Regenerated examples.md TOC 2022-02-24 16:36:38 +11:00
Peter Mescalchin
3fdafa472e Update GitHub Actions status badge markdown in README.md 2022-02-24 16:32:52 +11:00
Peter Mescalchin
341e6d75d9
Merge branch 'actions:main' into fix-golang-windows-example 2022-02-24 16:28:28 +11:00
Jheyson Saavedra
3fe001f5ca
chore: add Deno cache example to readme 2022-02-23 16:18:41 -05:00
Vipul
ab4bea262c
Merge pull request #567 from yuichkun/fix-typo-in-lerna-example
Fix typo of cache path in Lerna example
2022-02-23 11:24:07 +05:30
Yuichi Yogo
7772fcab79 remove unnecessary sub directory from search path 2022-02-23 12:39:46 +09:00
Vipul
6c2ab9416b
Merge pull request #747 from malob/add-stack-example
Add example for Haskell Stack
2022-02-23 02:21:45 +05:30
Malo Bourgon
2c7b30f330 Add example for Haskell Stack 2022-02-22 10:21:09 -08:00
Vipul
73cb7e0405
Merge pull request #742 from actions/node-update
Update node version, @types/node and some outdated dependencies
2022-02-16 11:09:30 +05:30
vsvipul
757c5a8ca4 Update deps 2022-02-15 16:44:17 +05:30
Thomas Boop
4e817c1f42 Update to node16
Node 12 has an end of life on April 30, 2022.

This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12. 

This is supported on all Actions Runners v2.285.0 or later.
2022-02-15 16:38:00 +05:30
Vipul
72d1e4fdff
Merge pull request #730 from actions/up-dep2
Update actions/cache package
2022-02-09 10:39:42 +05:30
vsvipul
8e70c71aee Update licenses for packages 2022-02-08 22:23:08 +05:30
Vipul
4d3516739c Update build files 2022-02-08 16:33:33 +00:00
Vipul
9c2f1a93d4 Update actions/cache package 2022-02-08 16:28:23 +00:00
Ashwin Sangem
5df1ae880d
Merge pull request #727 from ygnoh/patch-1
Fix test description
2022-02-07 11:30:27 +05:30
Yonggoo Noh
45bb0b1552
Fix test description 2022-02-07 14:20:40 +09:00
Vipul
b32c91dfec
Merge pull request #724 from actions/resolve-dep
Resolve dependabot alerts
2022-02-01 11:05:06 +05:30
vsvipul
7f8b9fe1f0 Fix line ending for windows test 2022-01-31 13:00:27 +05:30
vsvipul
0ac93353cd Update eslint and prettier 2022-01-31 12:55:11 +05:30
vsvipul
051d7bc106 Resolve dependabot alerts 2022-01-31 12:06:04 +05:30
Vipul
934cc8fa30
Merge pull request #722 from actions/up-dep-2
Update types/node and eslint-plugin-import
2022-01-31 11:43:58 +05:30
Bishal Prasad
35dd74a1a0
Merge pull request #721 from JJ/patch-1 2022-01-30 11:09:43 +05:30
Vipul
869d93f182 Update deps 2022-01-28 11:00:27 +00:00
Juan Julián Merelo Guervós
a848fb313f
This is a good tip if you're using Alpine
(Which does not have a POSIX-compliant tar by default)
2022-01-28 07:38:27 +01:00
Jheyson Saavedra
de7c17c6a9
chore: add Deno cache example 2022-01-15 19:33:29 -05:00
Vipul
611465405c
Merge pull request #706 from nomeata/patch-1
Improve Haskell example
2022-01-05 22:03:41 -08:00
Joachim Breitner
c64c5261d3
Fix syntax 2021-12-30 11:54:15 +01:00
Joachim Breitner
4e8aa1cc93
Improve Haskell example
as proposed in https://github.com/actions/cache/issues/555
2021-12-29 20:50:37 +01:00
Vipul
f7a7367bb2
Create close-inactive-issues.yml 2021-12-23 13:22:29 +05:30
Vipul
3bb5ffcc9c
Merge pull request #688 from tgrall/issue-687
Document the fact that this action is not supported on GitHub Enterprise Server
2021-12-17 15:48:10 +05:30
Vipul
e6890046a6
Update README.md
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2021-12-17 15:43:24 +05:30
Vipul
62fa565f30
Merge pull request #696 from actions/bishal-pdMSFT-patch-1
Add actions-cache team in CODEOWNERS
2021-12-15 16:43:45 +05:30
Bishal Prasad
e882008267
Update CODEOWNERS 2021-12-15 16:42:22 +05:30
Bishal Prasad
8e0501dcaf
Add actions-cache team in CODEOWNERS 2021-12-10 14:33:25 +05:30
Tugdual Grall
a3b6799c91 update readme for issue #687 2021-11-29 14:51:07 +00:00
Aparna Ravindra
bd49291365
Update README.md - 10GB support 2021-11-23 21:35:12 +05:30
Aparna Ravindra
937d244753
bumping up action version to 2.1.7 (#683) v2.1.7 2021-11-23 09:51:00 +05:30
Aparna Ravindra
eb0698d1c5
Bumping up @actions/cache version to 1.0.8 (#682)
* bumping up @actions/cache version to 1.0.8
* Remove ubuntu-16.04
2021-11-23 08:44:41 +05:30
Manuel Roth
67b6d52d50
(R renv) Remove unused renv-cache-path variable (#663) 2021-10-22 11:32:54 -04:00
Manuel Roth
92f67a4829
(R renv) Fix Renv package cache location in examples (#660)
* (R renv) Fix Renv package cache location in examples

* (R env) Update getting Renv package cache location

* (R env) Set renv package cache location using RENV_PATHS_ROOT environment variable
2021-10-22 10:22:58 -04:00
Peter Mescalchin
447f0fd1d3 Chomp some markdown whitespace 2021-09-26 22:10:48 +10:00
Peter Mescalchin
47e8bd685f Small fix to README.md examples link 2021-09-26 22:10:29 +10:00
Peter Mescalchin
795a8f09a9 Fixed Windows Golang cache paths in example 2021-09-26 22:05:48 +10:00
Brian Cristante
6bbe742add
Use existing check-dist implementation (#618) 2021-08-09 09:10:47 -04:00
Brian Cristante
c9db520cf3
Create check-dist.yml (#604)
* Add check-dist.yml

* Fix triggers in licensed.yml

* fix workflow for this repo
2021-08-05 14:39:40 -04:00
dependabot[bot]
10906ba9cd
Bump ws from 5.2.2 to 5.2.3 (#610)
Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 10:13:00 -04:00
Vít Stanislav
2ebdcff279
Add "see more" link to GHE-not-supported warning (#609)
* Add "see more" link to GHE-not-supported warning

I lived for several months thinking that support for caching action on GHE is just a matter of time, because it's such an important thing to have. Only today, I discovered that originally it was not planned at all. And that people already created some workarounds. So I hope that linking the issue from the warning message will save other people from what happened to me :-)

* Update new GHE-not-supported message in tests

* Update generated dist files
2021-07-20 10:02:26 -04:00
andrewdotn
5807af2642
Fix bugs in example of how to use with pipenv (#607)
* Fix bugs in example of how to use with pipenv

The current example of how to use `@actions/cache` with pipenv has two
problems:

 1. The cached virtualenv that pipenv creates has `bin/python` as a symlink
    into paths like `/opt/hostedtoolcache/Python/3.7.11` that explicitly
    include the patch version of python. When the cache is restored onto a
    machine running a slightly different version of python, e.g., when
    GitHub upgrades its runners from python 3.7.10 to 3.7.11, then any
    attempt to run python in the workflow mysteriously fails with errors
    like `Failed to load paths: /bin/sh: 1: /home/runner/.local/share/virtualenvs/myrepo-sOIMCiTO/bin/python: not found`.

    Therefore the patch version of python should be included in the cache
    key.

 2. `pipenv --install` has the unfortunate behaviour of not cleaning out
    any pre-existing packages. That is, if the `Pipfile` first contains
    dependencies on `foo` and `bar`, and then you remove `bar` from the
    `Pipfile` and run `pipenv install` again, `bar` is still included in
    the virtualenv.

    This can cause false-positive test failures: when a dependency is
    removed from the `Pipfile` but there is still code that relies on the
    removed dependency, tests can still pass if the dependency comes from
    the cache based on a previous revision of `Pipfile.lock`.

    Therefore `restore-keys` should not be set.

This PR attempts to address both of these issues.

* Explain why setup-python is included in example
2021-07-15 14:37:10 -04:00
Peter Mescalchin
0638051e9a
Golang example tweak - add go-build path - rebuild page TOC (#577) 2021-06-01 08:39:29 -05:00
David Hadka
c64c572235
Catch and log unhandled exceptions stemming from closed file descriptor (#596) v2.1.6 2021-05-27 10:46:35 -05:00
Alex Tokarev
cc2d767a72
Update Rust directories recommended for caching (#433)
This commit applies the suggestion from The Cargo Book:
https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
2021-05-21 12:41:57 -05:00
Daniel Kuschny
2fa955d825
Update examples.md (#588)
Extend gradle notes.
2021-05-13 14:40:34 -05:00
Yuichi Yogo
4762de4681 simplify path in lerna example 2021-04-21 02:47:03 +09:00
kalin
3a696372f2
elixir typo - stray parenthesis (#569) 2021-04-20 08:51:44 -05:00
Wojtek Mach
366e5ba022
Update cache key for Elixir (#568) 2021-04-19 08:42:01 -05:00
Yuichi Yogo
12ed05f49a Fix typo of cache path in Lerna example 2021-04-17 12:35:30 +09:00
David Hadka
8d3f2fc3ce
Update dependencies (#565) 2021-04-12 12:21:20 -05:00
David Hadka
1a9e2138d9
Update cache module to v1.0.7 (#562) v2.1.5 2021-04-12 08:57:09 -05:00
Jonathan Clem
981fa981ed
Merge pull request #469 from ericmj/patch-1
Also cache _build for Elixir
2021-03-31 10:46:31 -04:00
Pradyun Gedam
4498c5b4d8
Drop the example based on using pip's internals (#519)
pip's documentation explicitly states to not use `import pip`:

> While it is implemented in Python, and so is available from your Python code via
> `import pip`, you must not use pip’s internal APIs in this way.

This example is in direct contradiction with the documentation's guidance and, thus, has
been removed.
2021-03-29 17:34:02 -04:00
Robert Stoll
4134e6de47
It is not recommended to cache node_modules (#537)
According to the docs of this repo, so the example should not show it
2021-02-17 13:18:00 -05:00
Yaroslav Dynnikov
26968a09c0
Make save/restore logs akin (#509)
- Print primary key when saving cache
v2.1.4
2021-02-03 23:07:49 +01:00
Konrad Pabjan
aeaf731ae2
Use @actions/cache version 1.0.6 (#525)
* Use @actions/cache version 1.0.6

* Update cache.dep.yml

* Update all files in .licenses
2021-02-03 22:12:20 +01:00
Konrad Pabjan
56a8a2f775
Merge pull request #514 from eregon/recommend-setup-ruby-bundler-cache
Recommend ruby/setup-ruby's bundler-cache: true option
2021-02-02 21:29:35 +01:00
Benoit Daloze
1bfe3accb3 Recommend ruby/setup-ruby's bundler-cache: true option
Manually caching gems has many issues:
* Not working if there is no Gemfile.lock but only a Gemfile
* Not having the OS version in the key, which might cause binary incompatibility with system libraries of different ABI version.
* Not taking the Ruby version in account.
* Not taking the Ruby ABI version of development builds into accounts, which cannot be done with a key, but needs the commit hash.
* Using restore-keys would grow the cache over time and have extra gems in the cache.
* Those reasons are summarized in https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby#caching-bundle-install-manually
2021-01-28 12:52:25 +01:00
Konrad Pabjan
354332455a
Merge pull request #434 from DanielHabenicht/patch-1
Update examples.md for NPM
2021-01-14 17:22:53 +01:00
Konrad Pabjan
3303695afa
Merge pull request #507 from odin-delrio/patch-1
Improved gradle cache key calculation example
2021-01-14 17:21:10 +01:00
Odín del Río
e64ab303d1
Improved gradle cache key calculation example 2021-01-13 22:09:00 +01:00
Konrad Pabjan
26c48dce83
Merge pull request #506 from actions/cache-matrix-example
Added a cache example when using matrix
2021-01-12 13:35:24 -05:00
Chris Patterson
72f66cfa6d
Added a cache example when using matrix 2021-01-12 13:29:18 -05:00
Konrad Pabjan
9f3a4d3e65
Merge pull request #443 from guilleijo/pipenv-example
Add example for python pipenv
2020-12-15 16:17:31 -05:00
Aiqiao Yan
7b630ee04f
Merge pull request #483 from actions/aiqiaoy/windows-cache-path
Use @actions/cache 1.0.5
2020-12-15 15:56:11 -05:00
Aiqiao Yan
d2583f08bc Run licenses cache 2020-12-11 15:37:37 -05:00
Aiqiao Yan
752e778edb Use @actions/cache 1.0.5 2020-12-11 14:53:36 -05:00
Josh Gross
a3047dcdce
Fix CODEOWNER team name (#480) 2020-12-07 15:50:21 -05:00
Konrad Pabjan
9c77c9dbfc
Merge pull request #470 from brcrista/patch-1
Add CODEOWNERS file
2020-11-25 15:25:27 -05:00