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

Optimize Gradle build on GitHub #2198

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

ale5000-git
Copy link
Member

@ale5000-git ale5000-git commented Feb 24, 2024

I have done some changes:

  • Added "workflow_dispatch", this will allow you to run the build manually if needed in addition of the automatic run;
  • Remove all permissions from the actions since they aren't needed for a simple build;
  • Update the versions of actions (older versions will probably break soon);
  • Start using the official action to setup Gradle since it handle caching automatically in a better way compared to setup java action (the first run will be slower due to cache changes but the following runs will decrease);
  • Remove useless ENV variables, the ram of Gradle is already configured inside gradle.properties and the other is probably a remnant of the past;
  • Minor cosmetic improvements.

@ale5000-git ale5000-git requested a review from mar-v-in February 24, 2024 13:53
@mar-v-in mar-v-in merged commit 69f1012 into microg:master Feb 24, 2024
1 check passed
@ale5000-git ale5000-git deleted the patch-gradle-build-action branch February 24, 2024 22:58
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.

2 participants