93 Commits
Author SHA1 Message Date
Paul MerlinandGitHub 0206df026c Merge pull request #59 from eskatos/dd/v1-improved
Minor cleanups, simplifications and improvements
2021-07-27 08:45:59 +02:00
Paul MerlinandGitHub 13d33a88ca Merge pull request #52 from eskatos/dd/update-versions
Update dependency versions
2021-07-06 11:47:55 +02:00
paul 6bf2690b23 Upgrade dependencies 2020-12-22 12:11:50 +01:00
Paul Merlin 2efcc22ff5 Replace typed-rest-client with @actions/http-client 2020-09-13 14:17:37 +02:00
Paul Merlin cb2742a00b Protect RC provisioning from network problems and add logging 2020-09-13 13:30:54 +02:00
Paul Merlin c8c53f54bb Let CI exercises using latest Gradle RC 2020-09-13 13:25:31 +02:00
Paul Merlin 863daedf86 Bump test build wrapper 2020-09-13 13:23:48 +02:00
Paul Merlin 55871cbb47 Simplify build scan url extraction 2020-09-13 13:09:14 +02:00
Paul Merlin e3d60b3873 Protect wrapper cache restore against tar errors 2020-09-13 13:06:00 +02:00
Paul Merlin 2dd6cc1801 Upgrade dependencies 2020-09-13 12:37:40 +02:00
Paul Merlin f11e7d60d7 Short-circuit dependencies and configuration caching if cache dir already exists
This is relevant if you run this action several times in a single job.
This prevent doing unnecessary work starting with the second job using the action.
This prevent droping dependencies downloaded by the first job using the action.
This prevent Windows agents to fail unlinking already existing files.
2020-06-22 16:40:58 +02:00
Paul Merlin 7137b09ae2 Upgrade dependencies 2020-06-22 16:36:25 +02:00
Paul Merlin 053f389907 CI prod check workflow stops Gradle daemon at the end
to allow for dependency caching to work on windows
2020-06-15 20:08:27 +02:00
Paul Merlin 4f9b5202aa Faster CI 2020-06-15 20:03:30 +02:00
Paul Merlin 466a737d16 Only restore wrapper cache if dir doesn't exist 2020-06-15 19:33:04 +02:00
Paul Merlin eb7eb78d95 Refine README 2020-06-15 16:50:15 +02:00
Paul Merlin 682d7347f7 Optional dependencies cache
and bonus configuration cache

Merge branch 'eskatos/caching'
2020-06-15 16:36:19 +02:00
Paul Merlin 3c43b6525f Add some documentation around caching 2020-06-15 16:23:01 +02:00
Paul Merlin aefd8348d2 Enable configuration cache on CI 2020-06-15 16:03:04 +02:00
Paul Merlin f2de61db4e Enable configuration cache on CI 2020-06-15 15:58:50 +02:00
Paul Merlin 4c7d97cca4 Add caching of Gradle build configuration cache 2020-06-15 15:58:20 +02:00
Paul Merlin 806543fb3a Enable dependencies cache on CI 2020-06-15 15:57:47 +02:00
Paul Merlin 2afa86ca9f Disable dependencies cache by default 2020-06-15 15:57:09 +02:00
Paul Merlin ae50675399 Better warning message 2020-06-15 15:43:21 +02:00
Paul Merlin d7a54a26c7 Don't drop gc.properties in dependencies cache
because it would disable Gradle cache cleanup
2020-06-15 15:41:53 +02:00
Paul Merlin 02a8a21e55 Add input to disable wrapper caching 2020-06-15 15:41:09 +02:00
Paul Merlin 3abad5567a Add input to disable dependencies caching altogether 2020-06-15 14:32:54 +02:00
Paul Merlin 7c8cc1a9ef Fix typo 2020-06-15 14:28:57 +02:00
Paul Merlin 355e9c1f86 Try delete dependencies lock files and disable caching if not possible 2020-06-15 14:22:41 +02:00
Paul Merlin 26dd4cb9bb Make file hashing more robust 2020-06-15 14:09:44 +02:00
Paul Merlin 317ca35dca Refine dependencies caching 2020-06-15 13:16:51 +02:00
Paul Merlin 053762c1c1 Add input to make the dependencies caching strict 2020-06-15 13:05:36 +02:00
Paul Merlin 95e20daa83 Automatic caching of dependencies
in a best effort manner by default
allowing to specify files to hash for computing the cache key
2020-06-15 13:04:42 +02:00
Paul Merlin fcc1683d01 Extract github actions utils 2020-06-14 19:05:03 +02:00
Paul Merlin 059f2e7791 Rename cache.ts to cache-wrapper.ts 2020-06-14 19:04:18 +02:00
Paul Merlin 692fda9de7 Cache wrapper install when gradle-executable points to a wrapper 2020-06-14 18:01:54 +02:00
Paul Merlin e8885a31b8 Refine README 2020-06-14 12:57:10 +02:00
Paul Merlin 12e24e843d Fix for Windows
Merge branch 'eskatos/fix-windows'
2020-06-14 12:39:47 +02:00
Paul Merlin b35e929b1d Simplify CI 2020-06-14 12:36:06 +02:00
Paul Merlin c839ac993c Locate user home in an OS agnostic way 2020-06-14 12:28:17 +02:00
Paul Merlin 83e6d042d7 Run CI on linux, macos and windows 2020-06-14 12:22:21 +02:00
Paul MerlinandGitHub b995a7b937 Merge pull request #19 from eskatos/eskatos/june
Automatically cache wrapper installation
2020-06-13 16:31:47 +02:00
Paul Merlin 1c1db193aa Cache wrapper installation 2020-06-13 16:15:53 +02:00
Paul Merlin 9675f09de6 Compute wrapper cache key 2020-06-13 15:51:58 +02:00
Paul Merlin 392bcac1c1 Fix state 2020-06-13 15:03:30 +02:00
Paul Merlin a2ba1beedb Debugging 2020-06-13 15:01:08 +02:00
Paul Merlin 42e2fed267 Cache wrapper dist, step 1 2020-06-13 14:48:54 +02:00
Paul Merlin 8e2fd532f1 Fix dist download 2020-06-13 14:37:12 +02:00
Paul Merlin 2bf5eec3b6 Test dist download on CI 2020-06-13 14:33:32 +02:00
Paul Merlin 43efc20423 Run lint on CI 2020-06-13 14:33:04 +02:00
Paul Merlin 4a9a0a05a3 Lint 3 2020-06-13 14:30:57 +02:00
Paul Merlin 1647b85e82 Lint 2 2020-06-13 14:21:54 +02:00
Paul Merlin 6cee865aea Lint 2020-06-13 13:58:25 +02:00
Paul Merlin 5c61ab77ec Add back CI check for uncommited changes 2020-06-13 13:46:53 +02:00
Paul Merlin a31de8476d Format 2020-06-13 13:44:30 +02:00
Paul Merlin b2c379621c Add @action/cache 2020-06-13 13:42:27 +02:00
Paul Merlin 04a5ee4df2 Cleanup 2020-06-13 13:40:38 +02:00
Paul Merlin a188e7cd61 Debug logging 2020-06-13 13:36:11 +02:00
Paul Merlin e0644c97f9 Split action, step 2 2020-06-13 13:34:07 +02:00
Paul Merlin 9cc76cdea7 Split action, step 1 2020-06-13 13:30:20 +02:00
Paul Merlin b55d63f1f8 Refine CI workflows 2020-06-13 13:17:04 +02:00
Paul Merlin 8f6be44bf5 Split dev/prod CI workflows 2020-06-13 13:14:52 +02:00
Paul Merlin 469bf6123e Fix CI 2020-06-13 13:10:37 +02:00
Paul Merlin 9cbb22e130 Test something on CI 2020-06-13 13:09:06 +02:00
Paul Merlin 4c65920ab9 Fix build 2020-06-13 13:03:18 +02:00
Paul Merlin bad0f7d376 Fix build 2020-06-13 13:00:27 +02:00
Paul Merlin ab09ae8fad Refine CI 2020-06-13 12:48:35 +02:00
Paul Merlin 2f66fb5679 Add basic test Gradle build 2020-06-13 12:47:27 +02:00
Paul Merlin 1a6a8efda2 Refine CI 2020-06-13 12:47:09 +02:00
Paul Merlin e5b01ed062 Add more npm scripts 2020-06-13 12:47:01 +02:00
Paul Merlin 3d5e31b7a4 Upgrade dependencies 2020-06-13 12:46:47 +02:00
Paul Merlin 4336c6b886 Add various js build configs 2020-06-13 12:46:29 +02:00
Paul Merlin f25026ba74 Refine README 2020-06-13 12:45:21 +02:00
Paul MerlinandGitHub 9f5ce3593a Fix typo 2020-04-18 17:10:08 +02:00
Paul Merlin 38fdc3f684 Upgrade dependencies 2020-01-12 11:39:57 +01:00
Paul MerlinandGitHub 0821518fd9 Merge pull request #6 from musketyr/patch-1
ignore version called "wrapper"
2019-12-09 15:18:28 +01:00
Paul Merlin 15e064da79 Add missing await 2019-10-28 13:30:27 +01:00
Paul Merlin c5e1979a6b Fix relative paths issues when using build-root-directory 2019-10-28 13:26:37 +01:00
Paul Merlin dc882d2669 fix yaml comments in README's samples 2019-09-23 13:00:12 +02:00
Paul Merlin f9f0422c72 add example of using the build-scan-url output in README 2019-09-23 12:56:08 +02:00
Paul Merlin 38eaee068d polish src/provision.ts 2019-09-23 12:12:03 +02:00
Paul Merlin 0a56b592f2 capture build scan url on failed build 2019-09-23 12:11:18 +02:00
Paul Merlin 091093ee61 polish src/gradlew.ts 2019-09-23 12:10:49 +02:00
Paul Merlin 7a4f128c22 refine tsconfig 2019-09-23 12:10:32 +02:00
Paul Merlin f943246fd9 refine readme 2019-09-23 12:10:22 +02:00
Paul Merlin 8337949d80 better .gitignore 2019-09-22 11:06:17 +02:00
Paul Merlin 76166f0035 refine readme 2019-09-21 21:02:16 +02:00
Paul MerlinandGitHub a9718db8ba add code of conduct 2019-09-21 20:57:04 +02:00
Paul Merlin 91baa89272 fix package.json 2019-09-21 16:09:41 +02:00
Paul Merlin 6f837e9062 Minor README edits 2019-09-21 16:04:03 +02:00
Paul Merlin bc921df1ec Initial impl 2019-09-21 16:01:53 +02:00
Paul Merlin f4a8f7a81b minor edits & build 2019-09-20 23:23:07 +02:00
Paul Merlin 8ba9907b46 Initial commit 2019-09-20 23:06:59 +02:00