Skip to content

Commit

Permalink
Deploy locally before releasing with JReleaser (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
jperedadnr authored Oct 22, 2024
1 parent 0d5d6cb commit 3cfb094
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,12 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Release with JReleaser
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mvn -B -ntp -pl :parent -DartifactsDir=artifacts jreleaser:release
- name: Deploy parent pom and Kit to local staging
run: |
mvn -B -ntp deploy -pl :parent -Dmaven.test.skip=true
mvn -B -ntp deploy -fkit -Dmaven.test.skip=true
- name: Publish Kit with JReleaser
- name: Release with JReleaser
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }}
Expand All @@ -163,7 +157,7 @@ jobs:
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }}
run: |
mvn -B -ntp -pl :parent jreleaser:deploy
mvn -B -ntp -pl :parent -DartifactsDir=artifacts jreleaser:release
- name: JReleaser output
if: always()
Expand Down

0 comments on commit 3cfb094

Please sign in to comment.