From 159566ceefecaaa195709c5330f7a35561129185 Mon Sep 17 00:00:00 2001 From: Oleg Smirnov Date: Thu, 18 Jul 2024 18:08:42 +0500 Subject: [PATCH] Update workflows --- .github/workflows/dev-java-publish-sonatype.yml | 1 - .github/workflows/dev-release-java-publish-sonatype.yml | 6 ++---- .github/workflows/java-publish-sonatype.yml | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dev-java-publish-sonatype.yml b/.github/workflows/dev-java-publish-sonatype.yml index 3e3c6bb..a617196 100644 --- a/.github/workflows/dev-java-publish-sonatype.yml +++ b/.github/workflows/dev-java-publish-sonatype.yml @@ -14,7 +14,6 @@ jobs: with: build-target: 'Sonatype' runsOn: ubuntu-latest - gradleVersion: '7' secrets: sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} diff --git a/.github/workflows/dev-release-java-publish-sonatype.yml b/.github/workflows/dev-release-java-publish-sonatype.yml index b40bd8b..09d8030 100644 --- a/.github/workflows/dev-release-java-publish-sonatype.yml +++ b/.github/workflows/dev-release-java-publish-sonatype.yml @@ -1,9 +1,7 @@ name: Build and publish dev-release Java distributions to sonatype. on: - push: - tags: - - \d+.\d+.\d+-dev + workflow_dispatch: jobs: build: @@ -11,8 +9,8 @@ jobs: with: build-target: 'Sonatype' runsOn: ubuntu-latest - gradleVersion: '7' devRelease: true + createTag: true secrets: sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} diff --git a/.github/workflows/java-publish-sonatype.yml b/.github/workflows/java-publish-sonatype.yml index 856ab18..b8862ad 100644 --- a/.github/workflows/java-publish-sonatype.yml +++ b/.github/workflows/java-publish-sonatype.yml @@ -14,7 +14,7 @@ jobs: with: build-target: 'Sonatype' runsOn: ubuntu-latest - gradleVersion: '7' + createTag: true secrets: sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}