This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/main by this push:
new 1c66e73 Add info about Maven 4
1c66e73 is described below
commit 1c66e73edd2011303e3b661c499b3c91bc181ea0
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Mon Jun 3 18:33:13 2024 +0200
Add info about Maven 4
---
README.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/README.md b/README.md
index c98500b..a72519e 100644
--- a/README.md
+++ b/README.md
@@ -124,6 +124,18 @@ We can store some logs of execution in case of failure as
workflow attachments:
maven-matrix: '[ "3.2.5", "3.8.6" ]' # Maven versions matrix for verify
builds
```
+## Testing with Maven 4
+
+```yaml
+...
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
+ with:
+ maven4-enabled: true
+ maven4-version: 'xxx' # only needed if you want to override default
+ verify-goal: 'verify' # only needed if project doesn't have a run-its
profile
+```
+
+
## More options
More options with default values can be found in workflow source in `inputs`
section: