Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants