Commit Graph

64 Commits

Author SHA1 Message Date
mahabaleshwars 99b8673ff6
Patch for java version file (#610)
* patch to extract file from other location

* patch to extract filename from other directories

* removed code failing checks

* changed the validation for .java-version type
2024-03-14 09:12:58 -05:00
mahabaleshwars 5896cecc08
Added .tool-versions file support (#606)
* added support for tool version file

* testing with one regex

* working regex

* Checked for the file extension

* added e2e checks for tool version

* removed error warning

* updated regex to support early version

* updated regex for early version support

* updated regex for early version

* updated regex to accept early versions

* added coreinfo to analyze

* updated the regex

* updated regex

* new regex for early version

* updated regex to match the new version file format

* new regex

* changed the regex

* redex updated

* used java version regex

* regex updated

* regex modified

* regex updated

* regex updated

* regex updated

* updated regex to support early versions

* Regex updated to support all java versions

* Documentation updated to add tool version description

* Documentation updated for the tool version file

* update the advanced doc and readme file to specify tool version changes
2024-03-12 08:45:42 -05:00
HarithaVattikuti 80ae3c2885
Update httpclient version and other dependencies (#607)
* test

* fixed license issues

* fix audit issue

* fix license
2024-03-08 10:25:58 -06:00
Peter Murray 16ef37f8dd
HTTP errors when the token is undefined (#556)
* Fixing issues with the handling of the token and avoiding error on when the token is undefined

* chore: rebuild action

---------

Co-authored-by: Ivan Zosimov <ivanzosimov@github.com>
2023-12-01 14:55:03 +01:00
aparnajyothi-y 387ac29b30
Upgrade Node to v20 (#558)
* Build changes

* 4.0.0

* node version update

* changes

* upgrade to v20

* Removing conflicts

* Upgrade to v20 in the reusable workflows

* Rebased index.js

* Removing conflicts

* Resolving conflicts

* Fomat check

* failed checks fix
2023-11-29 15:11:46 +01:00
itchyny 9eda6b51cc
feat: implement cache-dependency-path option to control caching dependency (#499) 2023-11-22 16:43:14 +01:00
Ivan 78078da0cd
Update @actions/cache dependency and documentation (#549)
* deps: Update actions/cache dep, rebuild solution, update docs

* docs: fix typo

* deps: update jest dependencies and licenses

* deps: fix vulnerable dependencies, rebuild solution

* licenses: update
2023-10-17 11:09:10 +02:00
Accelerator1996 0ab4596768
add support for dragonwell (#532)
* add support for dragonwell

* fix: update logic of parsing json file, refactor code

* build: rebuild action

* chore: update error message

* build: rebuild action

* tests: fix unit tests, add e2e tests

* chore: prettier, lint and rebuild solution

* feat: add check for the package type, update unit tests

* tests: update e2e tests

* tests: remove excess entries from e2e tests

* feat: update logic of getting json file

* feat: add logic for backuping getting json

* chore: update wordings

* chore: fix typos, add additional logs

* fix: fix review points

* chore: rebuild solution

* chore: update wordings

* chore: refactor code

---------

Co-authored-by: Ivan Zosimov <ivanzosimov@github.com>
Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>
2023-09-20 13:22:11 +02:00
Endi327 cd89f46ac9
Add versions properties to cache (#280)
* Add versions properties to cache

* lint fix

npm run format change

* [FIX] unit test

* docs: fix typo in the Readme.md

* docs: update link to the toolkit/cache package

---------

Co-authored-by: Ivan Zosimov <ivan.zosimov@Ivans-MacBook-Pro.local>
2023-07-21 13:38:46 +02:00
Ivan 75c6561172
Update dependencies (#511)
* chore: update dependencies, rebuild action

* chore: update licenses

* chore: rebuild action on linux
2023-07-10 17:20:15 +02:00
Dmitry Shibanov 45058d7f99
Update xml2js (#484) 2023-06-15 17:41:12 +02:00
Ivan ddb82ce8a6
Corretto toolcache folder name fix (#480) 2023-04-10 10:29:19 +02:00
Doğaç Eldenk 404e5db3a1
fix sbt/scala cache key (#478) 2023-04-10 09:56:26 +02:00
Jordie 5ffc13f417
IBM Semeru (OpenJ9) Support (#289) 2023-03-21 10:32:38 +01:00
Ivan 0de5c66fc0
Add and configure ESLint and update configuration for Prettier (#458)
* Add ESLint config and update Prettier

* Update test files

* Rebuild action

* Update docs

* Update licenses

* Update tsconfig

* Rebuild action

* Update tsconfig.json

* Fix console.time calls

* Rebuild action

* Rebuild action on Linux
2023-03-09 14:49:35 +02:00
Jongwoo Han 545223a83e
refactor: Use early return pattern to avoid nested conditions (#428) 2022-12-16 15:04:57 +01:00
Evgenii Korolevskii 1df8dbefe2
Add support for java.version file (#426) 2022-12-13 12:45:14 +01:00
Dmitry Shibanov bd7e5d28eb
Update minimatch to 3.1.2 (#413) 2022-11-23 15:24:31 +01:00
Kengo TODA de1bb2b0c5
feat: support Gradle version catalog (#394) 2022-10-17 18:34:41 +02:00
Sankalp Kotewar 2c53c1a588
Update actions/cache to 3.0.4 version (#392) 2022-10-17 12:12:57 +02:00
Francesco Renzi dfcd06a4b9 Update @actions/core to 1.10.0 2022-10-06 12:11:13 +01:00
Nikolas Grottendieck eb1418aa81
Add Maven Toolchains Declaration (#276)
* Add (optional) Maven Toolchains Declaration after JDK is installed
* Extract common/shared Maven constants

Resolves #276
2022-09-27 17:25:52 +02:00
qhy040404 7bbeb80d24
Fix typo (#380) 2022-09-09 13:35:58 +02:00
Dmitry Shibanov d854b6da19
Add support for multiple jdks (#368) 2022-09-08 15:26:54 +02:00
Marko Zivic ef96bec0e4
Merge pull request #274 from schuenadel/include-buildSrc-in-cache-key
Include *.kt files in buildSrc in cache key
2022-08-10 10:10:46 +02:00
Marko Zivic 9e9f60b996
Merge pull request #285 from schuenadel/suggest-clear-cache-after-dependency-update
Remove `restoreKeys` to clear cache after update
2022-07-15 09:21:07 +02:00
Dmitry Shibanov aa24fa78d2 regenerate dist 2022-06-24 16:18:43 +02:00
Evgenii Korolevskii 25d94e7786 add build 2022-06-24 16:05:43 +02:00
Evgenii Korolevskii 2fc49d780a remove old build 2022-06-24 16:03:07 +02:00
Evgenii Korolevskii a0500669b7 Merge branch 'main' into CacheVersionUpdateTo3 2022-06-24 15:42:06 +02:00
Evgenii Korolevskii d397c16c56 build(cache): Update cache tool version
Graceful handling of error (non-validation one)
2022-06-24 15:32:10 +02:00
Florian Meriaux 48576e577e
npm run release 2022-06-15 08:19:27 +02:00
Florian Meriaux fa01820a3b
add documentation notes 2022-06-15 08:17:30 +02:00
Florian Meriaux 3e3d8c490f
sbt-cache: don't cache some files. 2022-05-25 11:39:10 +02:00
Mario Schünadel fa0272551b Merge remote-tracking branch 'upstream/main' into suggest-clear-cache-after-dependency-update 2022-04-28 16:16:25 +02:00
Mario Schünadel 30cdb8c7dd upstream with main v3.2.0 2022-04-28 15:55:20 +02:00
Kengo TODA dd80852400
Housekeeping: Update zeit/ncc to vercel/ncc (#270) 2022-04-26 15:44:58 +02:00
Mario Schünadel 45b7b136cf only Versions.kt and Dependencies.kt as cache key 2022-04-25 13:40:12 +02:00
Mario Schünadel f56009127d fix dist/* 2022-04-25 13:13:12 +02:00
Mario Schünadel fa513641c0 Merge remote-tracking branch 'git@github.com-actions/setup-java.git/main' into include-buildSrc-in-cache-key 2022-04-25 12:43:44 +02:00
Florian Meriaux 0ed94a5678
Add SBT in cache managers. (#302) 2022-04-20 16:26:27 +02:00
Mario Schünadel 83b77aa58b
Merge branch 'actions:main' into suggest-clear-cache-after-dependency-update 2022-04-19 12:45:13 +02:00
Deepak Dahiya 9519cf1382
Merge pull request #317 from actions/t-dedah/updateCache
Updated @actions/cache
2022-04-11 19:06:07 +05:30
Deepak Dahiya 9c8c90e08c Updated @actions/cache 2022-04-11 07:36:42 +00:00
Mario Schünadel d2e3f417a9
Set output `cache-hit` to indicate if cache was hit (#275) 2022-04-07 10:58:22 +02:00
Shubham Tiwari dc1a9f2791
Caching on GHES (#308)
* initial changes

* review comments

* updated with correct message

* linting

* update version

* updated version
2022-03-31 15:09:57 -04:00
Dmitry Shibanov f69f00b5e5
Update lockfileVersion (#293) 2022-02-24 14:42:37 +03:00
Mario Schünadel efcb607a6b remove "restoreKeys" to clear cache after update 2022-01-25 15:35:45 +01:00
Mario Schünadel 69e93308b0 Include *.kt files in buildSrc in cache key 2022-01-13 13:46:49 +01:00
Aparna Ravindra 5f00602cd1
Bumping up actions/cache version to 1.0.8 (#254) 2021-11-29 13:18:57 +03:00