From 1eaa59a1352c56a21055d00447a601c1c668bb0d Mon Sep 17 00:00:00 2001 From: Derek Wickern Date: Fri, 3 Nov 2023 17:52:04 -0700 Subject: [PATCH] publish jdk 11 --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed6bc25..846778e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,9 @@ on: jobs: publish: runs-on: ubuntu-20.04 + strategy: + matrix: + java-version: [ 8, 11 ] steps: - uses: actions/checkout@v4 with: @@ -15,7 +18,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: temurin - java-version: 8 + java-version: ${{ matrix.java-version }} cache: sbt - run: sbt ci-release env: @@ -23,5 +26,5 @@ jobs: PGP_SECRET: ${{ secrets.PGP_SECRET }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - CI_RELEASE: publishSignedJdk8 - CI_SNAPSHOT_RELEASE: publishJdk8 + CI_RELEASE: publishSignedJdk${{ matrix.java-version }} + CI_SNAPSHOT_RELEASE: publishJdk${{ matrix.java-version }}