Skip to content

Commit

Permalink
Modify Maven commands in GitHub workflow files (#265)
Browse files Browse the repository at this point in the history
This commit modifies the Maven commands in the release, integrate, and
analyze GitHub workflow files. The changes ensure the proper functioning
of the workflows by excluding certain profiles during the deployment
process and replacing 'verify' commands with 'test'. These changes aim
to improve the performance and stability of the development pipeline.
  • Loading branch information
caring-coder committed Feb 26, 2024
2 parents f44121d + 56f803e commit 292ba8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- run: mvn -B -ntp verify
- run: mvn -B -ntp test

- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- run: mvn -B -ntp verify
- run: mvn -B -ntp test
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
cat <(echo -e "${{ secrets.GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- run: mvn -B -ntp deploy -P gpg -Dgpg.passphrase=${{ secrets.GPG_SECRET_PASS }}
- run: mvn -B -ntp deploy -P gpg,!mut -Dgpg.passphrase=${{ secrets.GPG_SECRET_PASS }}
env:
MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_NAME }}
MAVEN_PASSWORD: ${{ secrets.OSS_SONATYPE_PASS }}

0 comments on commit 292ba8a

Please sign in to comment.