Skip to content

Commit

Permalink
Fixing deployment (because of changes @ sonatype)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Jul 10, 2024
1 parent 7350455 commit 5395d0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ jobs:
- name: Build and deploy BOM with Maven
run: (cd i18n-regions-bom ; mvn -B -Pdeploy clean deploy)
env:
SONATYPE_USERNAME: mihxil
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
- name: Build and deploy with Maven
run: |
mvn -B test
mvn -B -DskipTests=true -P'deploy,!blackboxtesting' deploy
env:
SONATYPE_USERNAME: mihxil
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
- uses: codecov/codecov-action@v3.1.5
- uses: codecov/codecov-action@v4
with:
files: report-aggregation/target/site/jacoco-aggregate/jacoco.xml
verbose: true
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.12.0
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
check_name: Tests results
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: (cd i18n-regions-bom ; mvn -B -Pdeploy clean deploy) ; echo BOM was built
continue-on-error: true # sometimes it was released already in a previous fail
env:
SONATYPE_USERNAME: mihxil
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}
- name: Release
Expand All @@ -54,6 +54,6 @@ jobs:
git push --atomic -v --follow-tags
mvn -P'deploy,!blackboxtesting' --batch-mode -Darguments=-DskipTests release:perform
env:
SONATYPE_USERNAME: mihxil
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }}

0 comments on commit 5395d0c

Please sign in to comment.