Skip to content

Commit

Permalink
snapshot deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikebbers committed Dec 4, 2023
1 parent fd34f4c commit 020bd21
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout Branch
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -23,5 +24,11 @@ jobs:
node-version: 16
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Build with Maven
- name: Build and Deploy with Maven
env:
JRELEASER_NEXUS2_MAVEN_CENTRAL_USERNAME: ${{ secrets.SONATYPE_TECHNICAL_USER_NAME }}
JRELEASER_NEXUS2_MAVEN_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_TECHNICAL_USER_PASSWORD }}
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.OPEN_ELEMENTS_GPG_PUBLIC_KEY }}
JRELEASER_GPG_SECRET_KEY: ${{ secrets.OPEN_ELEMENTS_GPG_PRIVATE_KEY }}
JRELEASER_GPG_PASSPHRASE: ${{ secrets.OPEN_ELEMENTS_GPG_PASSPHRASE }}
run: ./mvnw -Pdeploy deploy jreleaser:deploy

0 comments on commit 020bd21

Please sign in to comment.