GitHub Actions |
---|
Repository to test different Github Actions with Java.
Workflows:
Java Workflow Example - Build, Test and Deploy
Simple workflow to build, test and deploy.
- Checkout
- Environment setup:
- JDK 11
- Maven packages caching
- Maven build
- Maven test
- Mave deploy to Github Packages
- Upload artifact to Github to be available to download
Example of workflow runs:
Draft new release
Manual workflow to create a branch release to be merged if the workflow passes.
- Create a branch with the format
release/x.y.z
- Build, test and upload the test output to be verified
- After the tests it opens a PR to master to be merged
Publish new release
Workflow to release the builds after a branch release/x.y.z
is merged.
- Create a new release
- Open a PR to develop branch