Daz DeBoer
02d4f46354
Use core functionality to access action inputs
...
- Specify default values in action.yaml definition where appropriate
- Replace custom methods with core functions:
- getInputBoolean() with core.getBooleanInput()
- inputOrNull() with core.getInput()
- inputArrayOrNull() with core.getMultilineInput()
- Remove github-utils.js
2021-07-26 14:54:59 -06:00
Daz DeBoer
15a8123fbc
Validate presense of gradle wrapper to provide better feedback
...
- Provide a more useful error message when no Gradle wrapper can be located,
and 'gradle-version' or 'gradle-executable' is not used.
- Add test for case where wrapper is missing.
This isn't really a "test" per-se, but this failing build invocation makes it
easy to verify the GitHub action behaviour when the build is misconfigured.
2021-07-08 08:01:44 -06:00
Daz DeBoer
18c8a679dc
Look for gradle wrapper in build-root-directory by default
...
This removes the need to specify `wrapper-directory` when using a Gradle
project that is not located in the root of the workspace.
Fixes #44 .
2021-07-06 09:56:27 -06: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
1c1db193aa
Cache wrapper installation
2020-06-13 16:15:53 +02:00
Paul Merlin
42e2fed267
Cache wrapper dist, step 1
2020-06-13 14:48:54 +02:00
Paul Merlin
6cee865aea
Lint
2020-06-13 13:58:25 +02:00
Paul Merlin
a31de8476d
Format
2020-06-13 13:44:30 +02:00
Frieder Bluemle
ae5079ecac
Fix GitHub spelling
2020-03-17 22:36:04 +01:00
Vladimir Orany
bf26498bc4
ignore version called "wrapper"
...
fixes #5
2019-12-09 10:44:21 +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
0a56b592f2
capture build scan url on failed build
2019-09-23 12:11:18 +02:00
Paul Merlin
bc921df1ec
Initial impl
2019-09-21 16:01:53 +02:00
Paul Merlin
8ba9907b46
Initial commit
2019-09-20 23:06:59 +02:00