From 421afc5e7adb88c38b3bc394775bf7d4c7e4110e Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 15 Feb 2023 12:09:36 +0100 Subject: [PATCH] updated versions --- .github/workflows/buildMavenProject.yml | 2 +- java/pom.xml | 6 +++--- workflows/buildMavenProject.yml | 22 ---------------------- 3 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 workflows/buildMavenProject.yml diff --git a/.github/workflows/buildMavenProject.yml b/.github/workflows/buildMavenProject.yml index 1a5f592..c4974bc 100644 --- a/.github/workflows/buildMavenProject.yml +++ b/.github/workflows/buildMavenProject.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-java@v3 with: - java-version: '15' + java-version: '19' distribution: 'adopt' - name: Publish package run: mvn --batch-mode deploy diff --git a/java/pom.xml b/java/pom.xml index cbfc951..c565f7d 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -6,7 +6,7 @@ com.florian n-scalar-product-protocol - 3.0-SNAPSHOT + 3.0-STABLE org.springframework.boot @@ -21,8 +21,8 @@ - 19 - 19 + 17 + 17 diff --git a/workflows/buildMavenProject.yml b/workflows/buildMavenProject.yml deleted file mode 100644 index a0aac78..0000000 --- a/workflows/buildMavenProject.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Publish package to the Maven Central Repository -on: - release: - types: [created] -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Set up Maven Central Repository - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'adopt' - server-id: ossrh - server-username: MAVEN_USERNAME - server-password: MAVEN_PASSWORD - - name: Publish package - run: mvn --batch-mode deploy - env: - MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}