Skip to content

Commit

Permalink
chore: fix ci condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Nov 20, 2023
1 parent fdc6f20 commit 372ced3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java-version: ["8", "11", "17"]
java-version: ['*', '11', '17']
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{matrix.java-version}} PR
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Publish Snapshot
if: github.event_name != 'pull_request' && ${{matrix.java-version}} == "8"
if: github.event_name != 'pull_request' && ${{ matrix.java-version == '8' }}
run: mvn -B clean deploy -DskipTests --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit 372ced3

Please sign in to comment.