Skip to content

Commit

Permalink
Fix JDK Version
Browse files Browse the repository at this point in the history
  • Loading branch information
making committed Jun 29, 2024
1 parent 229ea76 commit ce39e74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
Expand Down Expand Up @@ -78,11 +78,11 @@ jobs:
if [ "${CURRENT_VERSION}" = "$(echo ${CURRENT_VERSION} | grep "\-SNAPSHOT")" ];then
./mvnw -V deploy -s settings.xml --no-transfer-progress -DskipTests=true -DserverId=sonatype-snapshots
fi
- name: Set up JDK 17 with GPG
- name: Set up JDK with GPG
if: github.ref == 'refs/heads/main'
uses: actions/setup-java@v4
with:
java-version: '17'
java-version: ${{ matrix.java }}
distribution: 'liberica'
cache: maven
gpg-private-key: ${{ steps.secrets.outputs.GPG_SECRING }}
Expand Down

0 comments on commit ce39e74

Please sign in to comment.