trackr
trackr copied to clipboard
Streamline Github Actions Setup
I noticed that the current workflow setup can be improved in some way.
- Target latest ubuntu version which is
ubuntu-20.04 - Update actions e.g.
checkout@v2,setup-java@v2,upload-artifact@v2 - Pin
JavatoJDK 11 - Rather than extra step to zip artifacts, we can specify multiple paths using
upload-artifactaction so it zips and uploads artifacts itself. - Get rid of the step which does
chmod +x .github/scripts/gradlew_recursive.sh. To let scripts have executable permissions we could usegit update-index. Or we can completely removegradlew_recursive.shand use this approach instead. - Apply
Gradlecache so we can have faster CI/build results in next runs.