This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch v1 in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/v1 by this push: new 5c18d5e Documentation only on main branch 5c18d5e is described below commit 5c18d5e84741ef1ecc9b7f71bc7caf6dcf0064e5 Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Sat Jan 1 23:07:11 2022 +0100 Documentation only on main branch --- README.md | 41 ++--------------------------------------- 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 24d3a07..de6909d 100644 --- a/README.md +++ b/README.md @@ -14,45 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --> -# Apache Maven shared GitHub Actions - +# Apache Maven Shared GitHub Actions # Usage -Create GitHub workflow in project with content: - -```yaml -name: Verify - -on: - push: - branches-ignore: - - dependabot/** - pull_request: - -jobs: - build: - name: Verify - uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main - -``` - -Excludes from build matrix: - -```yaml -... - uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify-with-its.yml@main - with: - matrix-exclude: > - [ - {"jdk": "8"}, # exclude jdk 8 from all builds - {"os": "windows-latest"}, # exclude windows from all builds - {"jdk": "8", "os": "windows-latest"} # exclude jkd 8 on windows - ] -``` - -# Resources - -- [Workflow syntax](https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions) -- [Reusing workflows](https://docs.github.com/en/actions/learn-github-actions/reusing-workflows) - +https://github.com/apache/maven-gh-actions-shared/