From 190c92339ea58dd2047f2b56218c6cd522f3a15d Mon Sep 17 00:00:00 2001 From: Harm133 Date: Fri, 31 May 2024 10:19:44 +0200 Subject: [PATCH] Update build-artifacts.yaml Only build artifacts on published release --- .github/workflows/build-artifacts.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-artifacts.yaml b/.github/workflows/build-artifacts.yaml index 57632ef..695d1bf 100644 --- a/.github/workflows/build-artifacts.yaml +++ b/.github/workflows/build-artifacts.yaml @@ -7,6 +7,8 @@ on: - "compose.*" branches: - "main" + release: + types: [published] env: CARGO_TERM_COLOR: always @@ -60,7 +62,6 @@ jobs: - name: Upload release uses: softprops/action-gh-release@v1 - if: github.base_ref != 'main' && github.event_name == 'release' with: tag_name: ${{ steps.version.outputs.VERSION }} name: ${{ steps.version.outputs.VERSION }} - ${{ github.event.head_commit.message }}