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

Upgrade workflows to gradle/gradle-build-action@v2 #1151

Merged
merged 1 commit into from Jan 17, 2022

Conversation

bigdaz
Copy link
Contributor

@bigdaz bigdaz commented Jan 16, 2022

Upgrades the GitHub actions workflows to use gradle/gradle-build-action@v2 (presently v2.1).
This action implementation replaces the previous eskatos/gradle-command-action@v1.

This new action:

  • has simpler configuration
  • does a better job of caching the Gradle User Home state between build invocations
  • automatically adds annotations with build scan URLs for all gradle invocations.

Due to the second item, I've removed the separate use of actions/cache for caching.
I've also removed the "Stop Gradle Daemon" steps, since this is handled by the action. Currently, this is done with org.gradle.daemon=false, but an upcoming version will allow the daemon to run between steps and stop at the end of the workflow.

…ion@v2` (presently v2.1).

This action implementation replaces the previous `eskatos/gradle-command-action@v1`.

This new action:
- has simpler configuration
- does a better job of caching the Gradle User Home state between build invocations
- automatically adds annotations with build scan URLs for all gradle invocations.

Due to the second item, I've removed the separate use of `actions/cache` for caching.
@bigdaz
Copy link
Contributor Author

bigdaz commented Jan 16, 2022

@CsCherrYY This PR replaces #1047

@CsCherrYY
Copy link
Collaborator

@bigdaz Thank you! I'll approve and merge this PR.

@CsCherrYY CsCherrYY merged commit 846d52e into microsoft:main Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants