Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenneg committed Oct 20, 2023
1 parent d22ada4 commit ca2a8d1
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,43 @@ on: [push, pull_request, workflow_dispatch]
jobs:
test:
name: Test
needs: build
needs: buildZ
runs-on: ubuntu-latest
steps:
- name: Build with Maven
run: ./mvnw clean verify --no-transfer-progress -pl :notifications-connector-email
test2:
name: Test2
needs: build
needs: buildZ
runs-on: ubuntu-latest
steps:
- name: Build with Maven
run: ./mvnw clean verify --no-transfer-progress -pl :notifications-connector-webhook
build2:
name: Build2
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Prepare cache key
id: cache-key
shell: bash
run: echo "::set-output name=date::$(/bin/date -u "+%Y-%m")"
- name: Cache Maven dependencies
uses: actions/cache@v3
with:
path: ~/.m2/repository
# The cache key is changed every month to prevent unlimited growth.
key: maven-cache-${{ steps.cache-key.outputs.date }}
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
- name: Build with Maven
run: ./mvnw clean verify --no-transfer-progress -pl :notifications-connector-common
build:
name: Build
runs-on: ubuntu-latest
Expand Down

0 comments on commit ca2a8d1

Please sign in to comment.