Skip to content

Commit

Permalink
CI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
acogoluegnes committed Sep 20, 2023
1 parent e8b8faa commit 1cc7593
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Publish snapshot
run: ./mvnw clean deploy -Psnapshots -DskipITs -DskipTests --no-transfer-progress
run: ./mvnw clean deploy -DskipBytecodeCheck -Psnapshots -DskipITs -DskipTests --no-transfer-progress
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ jobs:
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Show version
run: ./mvnw --version
- name: Test
run: ./mvnw test -DskipBytecodeCheck --no-transfer-progress
- name: Stop broker
run: docker stop rabbitmq && docker rm rabbitmq
- name: Publish snapshot
run: ./mvnw clean deploy -Psnapshots -DskipITs -DskipTests --no-transfer-progress
run: ./mvnw clean deploy -DskipBytecodeCheck -Psnapshots -DskipITs -DskipTests --no-transfer-progress
if: ${{ github.event_name != 'pull_request' }}
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit 1cc7593

Please sign in to comment.