From 4006f3b978bd7b246a7d69a9b3a25c8b00ff927a Mon Sep 17 00:00:00 2001 From: Flossy Date: Sat, 31 Aug 2024 23:53:31 -0400 Subject: [PATCH] Renamed to main.yml and continued testing --- .github/workflows/{mail.yml => main.yml} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename .github/workflows/{mail.yml => main.yml} (73%) diff --git a/.github/workflows/mail.yml b/.github/workflows/main.yml similarity index 73% rename from .github/workflows/mail.yml rename to .github/workflows/main.yml index 76107a0..8b1ddd8 100644 --- a/.github/workflows/mail.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,8 @@ jobs: - name: Preparing environment run: sudo apt-get update - - uses: s4u/maven-settings-action@v3.0.0 + - name: Preparing settings.xml + uses: s4u/maven-settings-action@v3.0.0 with: servers: | [ @@ -36,5 +37,11 @@ jobs: } ] - - name: Compute version - run: cat ~/.m2/settings.xml + - name: Incrementing pom.xml version + run: mvn -U build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.nextMinorVersion} versions:commit + + - name: Build + run: mvn -U clean install + + - name: Tag + run: mvn scm:checkin scm:tag \ No newline at end of file