Skip to content

Commit

Permalink
release parent separately
Browse files Browse the repository at this point in the history
  • Loading branch information
LangChain4j committed Mar 25, 2024
1 parent 64e7f37 commit fcd2331
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release_parent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: release_parent

on:
workflow_dispatch:

jobs:

release:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE

- name: release_parent
run: mvn -B -U -pl langchain4j-parent -Psign clean deploy
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}

0 comments on commit fcd2331

Please sign in to comment.