From 9a50fb26ba0c7dd7ebd93b739fa331b692c16e17 Mon Sep 17 00:00:00 2001 From: Finn Carroll Date: Thu, 26 Sep 2024 17:06:39 -0700 Subject: [PATCH] Publish only with java 21 Signed-off-by: Finn Carroll --- .github/workflows/maven-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 201cdae1..359326cc 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -11,7 +11,7 @@ jobs: build-and-publish-snapshots: strategy: matrix: - java: [ 11,17,21 ] + java: [ 21 ] runs-on: ubuntu-latest @@ -36,4 +36,4 @@ jobs: export SONATYPE_PASSWORD=$(aws secretsmanager get-secret-value --secret-id maven-snapshots-password --query SecretString --output text) echo "::add-mask::$SONATYPE_USERNAME" echo "::add-mask::$SONATYPE_PASSWORD" - ./gradlew publishPluginZipPublicationToSnapshotsRepository \ No newline at end of file + ./gradlew publishPluginZipPublicationToSnapshotsRepository