Update build-artifacts.yaml

Only build artifacts on published release
This commit is contained in:
Harm133 2024-05-31 10:19:44 +02:00 committed by GitHub
parent 8a3ceaf94a
commit 190c92339e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 }}