From 9ff0547e3828eb802dc554035b50b36e34faf788 Mon Sep 17 00:00:00 2001 From: Oleg Smelov Date: Thu, 24 Aug 2023 16:42:59 +0400 Subject: [PATCH] dependency update dev release workflow added --- ...lease-java-publish-sonatype-and-docker.yml | 22 +++++++++++++++++++ core/build.gradle | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/dev-release-java-publish-sonatype-and-docker.yml diff --git a/.github/workflows/dev-release-java-publish-sonatype-and-docker.yml b/.github/workflows/dev-release-java-publish-sonatype-and-docker.yml new file mode 100644 index 0000000..9c3e5df --- /dev/null +++ b/.github/workflows/dev-release-java-publish-sonatype-and-docker.yml @@ -0,0 +1,22 @@ +name: Build and release Java distributions to sonatype. + +on: + push: + tags: + - \d+.\d+.\d+-dev + +jobs: + build: + uses: th2-net/.github/.github/workflows/compound-java.yml@main + with: + build-target: 'Sonatype,Docker' + runsOn: ubuntu-latest + gradleVersion: '7' + docker-username: ${{ github.actor }} + devRelease: true + secrets: + sonatypeUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} + sonatypePassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} + sonatypeSigningKey: ${{ secrets.SONATYPE_GPG_ARMORED_KEY }} + sonatypeSigningPassword: ${{ secrets.SONATYPE_SIGNING_PASSWORD }} + docker-password: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/core/build.gradle b/core/build.gradle index 485e550..5e2b4c2 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -51,7 +51,7 @@ dependencies { testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0" testImplementation "io.strikt:strikt-core:0.34.1" - testImplementation platform("org.testcontainers:testcontainers-bom:1.18.3") + testImplementation platform("org.testcontainers:testcontainers-bom:1.19.0") testImplementation "org.testcontainers:testcontainers" testImplementation "org.testcontainers:mysql"