Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.4.2 #723
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Maven CI | |
on: | |
workflow_dispatch: { } | |
push: { } | |
pull_request: { } | |
jobs: | |
build: | |
if: github.event_name != 'push' && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
runs-on: ubuntu-latest | |
steps: | |
- name: Skip Duplicate Actions | |
uses: fkirc/[email protected] | |
with: | |
paths_ignore: '[ "**/*.md", "**/*.adoc" ]' | |
cancel_others: true | |
concurrent_skipping: outdated_runs | |
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]' | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Initialize | |
shell: bash | |
run: | | |
./mvnw \ | |
--show-version \ | |
--errors \ | |
--batch-mode \ | |
--no-transfer-progress \ | |
org.mvnsearch:toolchains-maven-plugin:toolchain \ | |
-pl . \ | |
-DtrimStackTrace=false | |
- name: Build application with Maven | |
shell: bash | |
run: | | |
./mvnw \ | |
--show-version \ | |
--errors \ | |
--batch-mode \ | |
--no-transfer-progress \ | |
verify jacoco:merge@jacoco-merge-cli site \ | |
-Pdocs \ | |
-DtrimStackTrace=false | |
- uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos | |
fail_ci_if_error: true # optional (default = false) |