Skip to content

Commit

Permalink
Fix ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
reda-alaoui committed Dec 26, 2023
1 parent c0ebd68 commit 825f5fb
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
name: CI

on: [push]
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ubuntu-latest

if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode verify
run: ./mvnw --batch-mode clean verify

0 comments on commit 825f5fb

Please sign in to comment.