From 2d8467fc2899c912ddef95e94fd22cf343c576c9 Mon Sep 17 00:00:00 2001 From: isengrims <104489572+isengrims@users.noreply.github.com> Date: Mon, 18 Sep 2023 15:40:21 +0400 Subject: [PATCH] Disable automatic dev releases for branches with name dev-version-* (#64) Co-authored-by: Denis Plotnikov --- .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: