After renaming the master branch to main the Github actions must also use the main branch.
Also applied updates to the setup-java action as shown by @abelsromero on asciidoctorj.
How does it achieve that?
Are there any alternative ways to implement this?
Are there any implications of this pull request? Anything a user must know?
Issue
If this PR fixes an open issue, please add a line of the form:
Fixes #Issue
Release notes
Please add a corresponding entry to the file CHANGELOG.adoc
Thank you for opening a pull request and contributing to AsciidoctorJ PDF!
Please take a bit of time giving some details about your pull request:
Kind of change
[ ] Bug fix [ ] New non-breaking feature [ ] New breaking feature [ ] Documentation update [x] Build improvement
Description
What is the goal of this pull request?
After renaming the master branch to main the Github actions must also use the main branch. Also applied updates to the setup-java action as shown by @abelsromero on asciidoctorj.
How does it achieve that?
Are there any alternative ways to implement this?
Are there any implications of this pull request? Anything a user must know?
Issue
If this PR fixes an open issue, please add a line of the form:
Fixes #Issue
Release notes
Please add a corresponding entry to the file CHANGELOG.adoc