This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-resolver-ant-tasks.git
The following commit(s) were added to refs/heads/master by this push: new b00a0e4 [MRESOLVER-225] Shared GitHub Actions b00a0e4 is described below commit b00a0e41d9b92e8cf66dd717558443be2ba9fd02 Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Thu Nov 18 22:45:55 2021 +0100 [MRESOLVER-225] Shared GitHub Actions --- .github/workflows/{maven.yml => maven-verify.yml} | 38 +++++------------------ 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml similarity index 52% rename from .github/workflows/maven.yml rename to .github/workflows/maven-verify.yml index 77d4770..7a38e97 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven-verify.yml @@ -15,37 +15,15 @@ # specific language governing permissions and limitations # under the License. -name: Java CI +name: Verify -on: [push, pull_request] +on: + push: + branches-ignore: + - dependabot/** + pull_request: jobs: build: - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - fail-fast: false - - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Set up cache for ~/.m2/repository - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: maven-${{ matrix.os }}-${{ hashFiles('**/pom.xml') }} - restore-keys: | - maven-${{ matrix.os }}- - - - name: Set up JDK 1.8 - uses: actions/setup-java@v2 - with: - java-version: '8' - distribution: 'adopt' - - - name: Build with Maven - run: mvn clean verify -e -B -V -P run-its - + name: Verify + uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1