-
Notifications
You must be signed in to change notification settings - Fork 118
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 actions in GitHub Actions workflows #382
Conversation
This PR updates the various actions used in the existing GitHub Actions workflows. - `ubuntu-18.04` → `ubuntu-latest` - `actions/checkout@v1` → `v4` - `actions/checkout@v2` → `v4` - `actions/setup-java@v1` → `v4` - `eskatos/gradle-command-action@v1` → `gradle/actions/setup-gradle@v4` - `actions/upload-artifact@v1` → `v4`
The Gradle Wrapper jar seemed to not match the Gradle version. So I've ran |
Lines 34 to 41 in 9a30358
So I've enabled fetching the Git tags in |
Not sure if the unit test build failure (process 'git' failure) is due to the change in ubuntu version? |
Ok, fetching the tags is not enough, so I've enabled fetching the Git history in bf9e86a |
I've tried fetching the Git history, like in |
The setup looks good now. The failures seem to be directly coming from the tests now. |
This PR updates the various actions used in the existing GitHub Actions workflows:
ubuntu-18.04
→ubuntu-latest
actions/checkout@v1
→v4
actions/checkout@v2
→v4
actions/setup-java@v1
→v4
eskatos/gradle-command-action@v1
→gradle/actions/setup-gradle@v4
actions/upload-artifact@v1
→v4