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 }}