From 1dfc1ce1ad72642d875df6f7d80fce277e457757 Mon Sep 17 00:00:00 2001 From: Gili Tzabari Date: Thu, 31 Oct 2024 17:16:57 -0400 Subject: [PATCH] Cosmetic changes --- .github/workflows/build.yml | 3 +-- .github/workflows/deploy_to_maven_central.yml | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa5d9e5..49c1830 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,7 @@ jobs: - name: Cache Dependencies uses: actions/cache@v4 with: - path: | - ~/.m2/repository/* + path: ~/.m2/repository/* key: ${{ runner.OS }}-maven-${{ hashFiles('**/pom.xml') }} # Maven command-line options: diff --git a/.github/workflows/deploy_to_maven_central.yml b/.github/workflows/deploy_to_maven_central.yml index 0076d03..1bf1a94 100644 --- a/.github/workflows/deploy_to_maven_central.yml +++ b/.github/workflows/deploy_to_maven_central.yml @@ -147,12 +147,13 @@ jobs: ./mvnw --batch-mode -V -e -pl '!dropwizard,!jersey' -Dstaging_repository_id=${{ needs.open-release.outputs.STAGING_REPOSITORY_ID }} -Dstaging_host="${{ env.STAGING_HOST }}" - deploy -P release + -P release + deploy # Must quote exclamation mark on bash: https://stackoverflow.com/a/27177197/14731 - name: Generate Javadoc run: | - ./mvnw --batch-mode -V -e verify javadoc:aggregate -pl '!dropwizard,!jersey' + ./mvnw --batch-mode -V -e -pl '!dropwizard,!jersey' verify javadoc:aggregate mkdir --parents "${{ needs.open-release.outputs.VERSION }}/docs" mv target/reports/apidocs "${{ needs.open-release.outputs.VERSION }}/docs/api"