Commit Graph

61 Commits (1ddc49105de28795736c1e98c4413738eb69debc)

Author SHA1 Message Date
Sankalp Kotewar 1ddc49105d
Removed unused code 2 years ago
Sankalp Kotewar 407044787b
Added more assertions as values can't be checked 2 years ago
Sankalp Kotewar ccf90c02ed
Fixed breaking test case 2 years ago
Sankalp Kotewar 4f42dc56c1
Added stateprovider test cases 2 years ago
Sankalp Kotewar b6604364ae
Deleted stateprovider tests until added 2 years ago
Sankalp Kotewar 91d7bd61be
Fixed review comments and tests 2 years ago
Sankalp Kotewar 5e7f2c1182
Fixed breaking test case 2 years ago
Sankalp Kotewar 3d4af52c52
Renamed variables and added tests 2 years ago
Sankalp Kotewar 8ecd00a4be
Added restore only and save only test cases 2 years ago
Sankalp Kotewar 782b0bd3df
Fixed test cases 2 years ago
Sankalp Kotewar 85ae5bbcea
Fixed breaking test case 2 years ago
Sankalp Kotewar 11ab7ccfa2
Reverted custom asks implemented and added wrapper 2 years ago
Sankalp Kotewar 8a88690a20
Fixed test cases issues 2 years ago
Sankalp Kotewar 01d96636a0
Some cleanup 2 years ago
Sankalp Kotewar 9c5a42a7c9
Added test cases 2 years ago
Vipul 68d96986b5 Remove sort logic from inputs 2 years ago
Shubham Tiwari 1a78ace131
Updated the GHES warning message (#925)
* changed the error message

* format

* review comment
2 years ago
Vipul f316f94f31 Generate build and fix format 2 years ago
Álvaro Mondéjar 204fa1ab69 Sort inputs and remove whitespaces after exclamation at the beginning of lines 2 years ago
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
2 years ago
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
3 years ago
Yonggoo Noh 45bb0b1552
Fix test description 3 years ago
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
3 years ago
Dave Hadka 4bceb75b5b Use parseInt instead of Number to handle empty strings 4 years ago
Dave Hadka a6f1f4b32e Adds input for upload chunk size 4 years ago
Dave Hadka d3e4f218f3 Use warning instead of info 4 years ago
Dave Hadka 0f71d4ac9a Add tests for isGhes 4 years ago
Dave Hadka 2850cd8f45 Fix test 4 years ago
Dave Hadka 4d604c6cce No-op on GHES 4 years ago
Dave Hadka d60d2bef10 Improve string split 5 years ago
Aiqiao Yan bcc23b930f React to feeback and change to use 0.2.0 cache package 5 years ago
Aiqiao Yan 7f9517a009 Switch cache action to use the cache node package 5 years ago
Aiqiao Yan 16a133d9a7
Merge pull request #263 from actions/users/aiyan/allow-all-events
Allow all events to access cache
5 years ago
Dave Hadka 05b13411a0 Add retries to all API calls 5 years ago
Aiqiao Yan ccc66f769e Allow all events to access cache 5 years ago
Aiqiao Yan 75cd46ec0c Use 30 as the long distance matching window to support both 32-bit and 64-bit OS 5 years ago
Aiqiao Yan a5d9a3b1a6 Address PR feedback 5 years ago
Aiqiao Yan 97f7baa910 Use zstd instead of gzip if available
Add zstd to cache versioning
5 years ago
Aiqiao Yan 52046d1409 Use path.sep in path replace 5 years ago
Aiqiao Yan 08438313d5 Fix macOs-latest test 5 years ago
Aiqiao Yan 306f72536b Fix test 5 years ago
Aiqiao Yan 4fa017f2b7 Fallback to GNU tar if BSD tar is unavailable 5 years ago
Josh Gross a4e3c3b64e
Add -P flag for tar creation 5 years ago
David Hadka 272268544c
Add path argument to verify-cache-files.sh 5 years ago
David Hadka 64f8769515
Add path argument to create-cache-files.sh 5 years ago
Ethan Dennis eb78578266
Cache multiple paths and add glob pattern support (#212)
* Allow for multiple line-delimited paths to cache

* Add initial minimatch support

* Use @actions/glob for pattern matching

* Cache multiple entries using --files-from tar input

remove known failing test

Quote tar paths

Add salt to test cache

Try reading input files from manifest

bump salt

Run test on macos

more testing

Run caching tests on 3 platforms

Run tests on self-hosted

Apparently cant reference hosted runners by name

Bump salt

wait for some time after save

more timing out

smarter waiting

Cache in tmp dir that won't be deleted

Use child_process instead of actions/exec

Revert tempDir hack

bump salt

more logging

More console logging

Use filepath to with cacheHttpClient

Test cache restoration

Revert temp dir hack

debug logging

clean up cache.yml testing

Bump salt

change debug output

build actions

* unit test coverage for caching multiple dirs

* Ensure there's a locateable test folder at homedir

* Clean up code

* Version cache with all inputs

* Unit test getCacheVersion

* Include keys in getCacheEntry request

* Clean import orders

* Use fs promises in actionUtils tests

* Update import order for to fix linter errors

* Fix remaining linter error

* Remove platform-specific test code

* Add lerna example for caching multiple dirs

* Lerna example updated to v2

Co-Authored-By: Josh Gross <joshmgross@github.com>

Co-authored-by: Josh Gross <joshmgross@github.com>
5 years ago
Henry Mercer cae64ca3cd
Attempt to delete the archive after extraction (#209)
This reduces storage space used once the Action has finished executing.
5 years ago
BSKY 6c471ae9f6
Add eslint-plugin-simple-import-sort (#219)
* Add eslint-plugin-simple-import-sort

* Update .eslintrc.json

* eslint --fix
5 years ago
Carlos Guerrero 8e9c167fd7
Small message change (#195)
* Small message change

Remove dot that generates confusion in wether that's part of the key or not

* Fix format-check

* Update tests
5 years ago
eric sciple 4944275b95
test e2e during workflow (#185) 5 years ago