From 043fd9bb622169b8549ef976c168ecf33a272113 Mon Sep 17 00:00:00 2001 From: "Brad P. Crochet" Date: Wed, 20 Jul 2022 16:22:46 -0400 Subject: [PATCH] Build release on publish instead of tag Match what preflight is doing for building releases. The release workflow will trigger on the release being published, which will support doing pre-release builds as well. Signed-off-by: Brad P. Crochet --- .github/workflows/build-release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index f13f12a..77d0b82 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -1,9 +1,12 @@ name: Build Release on: + release: + types: + - published push: - tags: - - "[0-9]+.[0-9]+.[0-9]+" + branches: + - ghactions jobs: build-release: