Skip to content

Commit

Permalink
Update ci to let deploy to OSSRH
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed May 21, 2024
1 parent 96a3885 commit 1bb214e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci-4.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v2
- name: Install JDK
uses: actions/setup-java@v4
with:
Expand All @@ -42,9 +42,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8
java-version: |
${{ matrix.jdk }}
17
distribution: temurin
- name: Get project version
run: echo "PROJECT_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:evaluate -Dexpression=project.version -B | grep -v '\[')" >> $GITHUB_ENV
Expand Down

0 comments on commit 1bb214e

Please sign in to comment.