From 724c995922786cbcda54bd74f4f7aebf5e426468 Mon Sep 17 00:00:00 2001 From: Denis Plotnikov Date: Mon, 18 Sep 2023 15:34:25 +0400 Subject: [PATCH] Disable automatic dev releases for branches with name dev-version-* --- .github/workflows/dev-docker-publish.yml | 1 - .github/workflows/dev-release-docker-publish.yml | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev-docker-publish.yml b/.github/workflows/dev-docker-publish.yml index b8551de..eab42dc 100644 --- a/.github/workflows/dev-docker-publish.yml +++ b/.github/workflows/dev-docker-publish.yml @@ -5,7 +5,6 @@ on: branches-ignore: - master - version-* - - dev-version-* - dependabot** paths-ignore: - README.md diff --git a/.github/workflows/dev-release-docker-publish.yml b/.github/workflows/dev-release-docker-publish.yml index ec3a015..54c4d76 100644 --- a/.github/workflows/dev-release-docker-publish.yml +++ b/.github/workflows/dev-release-docker-publish.yml @@ -3,10 +3,8 @@ name: Build and publish dev-release Java distributions to sonatype. on: workflow_dispatch: push: - branches: - - dev-version-* - paths: - - gradle.properties + tags: + - \d+.\d+.\d+-dev jobs: build-job: