Skip to content

Commit

Permalink
Use shared workflow for AEM build
Browse files Browse the repository at this point in the history
  • Loading branch information
bdhoine committed Sep 19, 2024
1 parent 27b84f3 commit 29f2bce
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,7 @@ name: Build

on: [ push, pull_request ]

jobs:
build:
name: Maven build
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11

- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
run: mvn --batch-mode --update-snapshots install
jobs:
call-workflow:
uses: orbinson/workflows/.github/workflows/aem-maven-build.yml@main

0 comments on commit 29f2bce

Please sign in to comment.