From 2967521f26c0b30a19165cc687982b66db47115d Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Sun, 18 Aug 2024 19:47:00 +0200 Subject: [PATCH] github actions updated to create source and javadoc jars --- .github/workflows/build-release.yml | 2 +- .github/workflows/build-snapshot.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 4328ff6..ee44256 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Publish package - run: ./gradlew -Pversion=${VERSION} build publishToSonatype closeAndReleaseSonatypeStagingRepository + run: ./gradlew -Pversion=${VERSION} build sourcesJar javadocJar publishToSonatype closeAndReleaseSonatypeStagingRepository env: ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }} diff --git a/.github/workflows/build-snapshot.yml b/.github/workflows/build-snapshot.yml index 3afa7e3..1d4617a 100644 --- a/.github/workflows/build-snapshot.yml +++ b/.github/workflows/build-snapshot.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Gradle uses: gradle/actions/setup-gradle@v4 - name: Publish package - run: ./gradlew build publish + run: ./gradlew build sourcesJar javadocJar publish env: ORG_GRADLE_PROJECT_githubActor: ${{ secrets.GITHUBACTOR }} ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUBTOKEN }}