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

Upgrading workflows to use gradle setup action #260

Open
jamonkko opened this issue Oct 25, 2024 · 0 comments
Open

Upgrading workflows to use gradle setup action #260

jamonkko opened this issue Oct 25, 2024 · 0 comments

Comments

@jamonkko
Copy link

Summary

Upgrade workflows to use gradle setup-action v4 https://github.com/gradle/actions/tree/main?tab=readme-ov-file#the-setup-gradle-action

Basically just having this

- name: Setup Gradle
  uses: gradle/actions/setup-gradle@v4

and removing:

  • usage gradle/wrapper-validation-action@v1. The setup-action@v4 will run internally wrapper validation.
  • custom gradle cache tasks since setup-action@v4 will take care of gradle related caching and it is enabled by default when using it

Also would it make sense to update these quick start workflows to use setup-gradle@v4 since the current old gradle-validation action gets now copied to any project created using the template https://github.com/touchlab/KMMBridgeSPMQuickStart/tree/main/.github/workflows

I did not make ready PR since not sure if you are ok with these?

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

No branches or pull requests

1 participant