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

Update GitHub workflows to use latest versions of actions #3557

Merged
merged 3 commits into from
Apr 15, 2024

Conversation

whyoleg
Copy link
Collaborator

@whyoleg whyoleg commented Apr 9, 2024

this will remove warnings like this and so future errors

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v3, gradle/gradle-build-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

@whyoleg whyoleg self-assigned this Apr 9, 2024
with:
distribution: 'zulu'
java-version: 17
cache: 'maven'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea 👍

with:
gradle-home-cache-cleanup: true
arguments: clean
- run: ./gradlew clean
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this gradle clean step can be removed. The project is freshly checked out every time, so there's nothing to clean..

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@whyoleg whyoleg merged commit 80b9c6c into master Apr 15, 2024
12 checks passed
@whyoleg whyoleg deleted the update-actions branch April 15, 2024 11: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.

3 participants