From ba646f250753b23871a046b45964a4a96f3e5862 Mon Sep 17 00:00:00 2001 From: Mohamed ENNAHDI EL IDRISSI Date: Tue, 19 Nov 2024 19:43:45 +0000 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1e304cc..047315e 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -25,6 +25,11 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven + - name: Configure Git user + run: | + git config user.email "mohamed.ennahdi@gmail.com" + git config user.name "Mohamed Ennahdi El Idrissi" - name: Build with Maven - run: mvn -B test --file pom.xml - + run: mvn -B release:clean release:prepare release:perform --file pom.xml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}