From 4c031d35b1d23afda5455c09a148ecd34972ccbb Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Wed, 16 Oct 2024 15:22:14 +0200 Subject: [PATCH] release Signed-off-by: Gregor Zeitlinger --- .github/workflows/github-pages.yaml | 11 ++--------- .github/workflows/release.yml | 3 +++ pom.xml | 20 ++++++++------------ 3 files changed, 13 insertions(+), 21 deletions(-) diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 43a6fd94d..56380ec7f 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -44,17 +44,10 @@ jobs: run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ && sudo dpkg -i ${{ runner.temp }}/hugo.deb - #- name: Install Dart Sass - # run: sudo snap install dart-sass - - name: Checkout - uses: actions/checkout@v4 - with: - submodules: recursive - fetch-depth: 0 - name: Build client_java - run: ./mvnw -B clean install -DskipTests + run: ./mvnw -B clean install -DskipTests -P release - name: Make Javadoc - run: ./mvnw -B clean compile javadoc:javadoc javadoc:aggregate + run: ./mvnw -B clean compile javadoc:javadoc javadoc:aggregate -P release - name: Move the Javadoc to docs/static/api/ run: mv ./target/reports/apidocs ./docs/static/api && echo && echo 'ls ./docs/static/api' && ls ./docs/static/api - name: Setup Pages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 574376d7b..150d692d6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Debug gpg key - remove after debugging + run: | + echo "$GPG_SIGNING_KEY" | gpg --batch --import-options import-show --import - name: Checkout Plugin Repository uses: actions/checkout@v4 diff --git a/pom.xml b/pom.xml index e30b00884..5735d8581 100644 --- a/pom.xml +++ b/pom.xml @@ -329,6 +329,14 @@ 8 + + + attach-javadocs + + jar + + + org.apache.maven.plugins @@ -361,18 +369,6 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - - - attach-javadocs - - jar - - - - org.sonatype.central central-publishing-maven-plugin