Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for writing log to file #72

Closed
cortinico opened this issue Aug 30, 2021 · 1 comment
Closed

Support for writing log to file #72

cortinico opened this issue Aug 30, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@cortinico
Copy link

Hey all, thanks for the great GH Action.

It would be great if we could redirect the Gradle log output to file in some form.
Specifically having the log on file could be useful for parsing and for asserting that a task was effectively executed.

When not using this action it's as easy as run: ./gradlew tasks | tee gradle.log.
Once we switch to this action, it seems like there is no easy way to make it possible.

@bigdaz bigdaz added the enhancement New feature or request label Sep 15, 2021
@bigdaz bigdaz added this to the v2.1 milestone Dec 17, 2021
@bigdaz
Copy link
Member

bigdaz commented Dec 31, 2021

With gradle-build-action@v2.1 it is now possible to use the action to setup Gradle but use a standard run action for the actual Gradle invocation. This should allow you to capture the build output, process it however you like, and make it available to subsequent actions.

@bigdaz bigdaz closed this as completed Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants