Skip to content

Commit

Permalink
fix: use maven plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Changolaxtra committed Dec 14, 2023
1 parent d8ad6fc commit 385cea0
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,16 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -B clean package
- name: Release
uses: qcastel/github-actions-maven-release@master
with:
git-release-bot-name: "Changolaxtra"
git-release-bot-email: "dan.rojasx@gmail.com"
maven-args: "-Dmaven.javadoc.skip=true -DskipTests -DskipITs -Ddockerfile.skip -DdockerCompose.skip -Dmaven.deploy.skip=true"
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Update Patch Version
run: |
mvn --batch-mode --no-transfer-progress build-helper:parse-version versions:set \
-DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT \
versions:commit
- name: Perform Release Build
run: |
git config user.name Changolaxtra
git config user.email dan.rojasx@gmail.com
mvn --batch-mode --no-transfer-progress release:clean release:prepare release:perform \
-Darguments="-Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true" \
-Dusername=s-airchangeservice -Dpassword=${{ secrets.SSH_PRIVATE_KEY }}

0 comments on commit 385cea0

Please sign in to comment.