You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2024/06/03 16:33:27 UTC
(maven-gh-actions-shared) branch mvn4-doc created (now 836ede5)
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a change to branch mvn4-doc
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
at 836ede5 Add info about Maven 4
This branch includes the following new commits:
new 836ede5 Add info about Maven 4
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(maven-gh-actions-shared) 01/01: Add info about Maven 4
Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch mvn4-doc
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
commit 836ede57115092adc9b5a07b0863888833208164
Author: Slawomir Jaranowski <s....@gmail.com>
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: