Skip to content

Commit

Permalink
Update build-artifacts.yaml
Browse files Browse the repository at this point in the history
Only build artifacts on published release
  • Loading branch information
Harm133 authored May 31, 2024
1 parent 8a3ceaf commit 190c923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- "compose.*"
branches:
- "main"
release:
types: [published]

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 190c923

Please sign in to comment.