Skip to content

Commit af78aed

Browse files
committed
Only upload artifacts on release commits
1 parent 0522331 commit af78aed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
echo "VERSION=$version" >> $GITHUB_ENV
3535
echo $version
3636
- name: Upload Artifact
37+
if: startsWith(github.event.head_commit.message || '', 'Release')
3738
uses: actions/upload-artifact@v4
3839
with:
3940
name: communityradar-${{ env.VERSION }}

0 commit comments

Comments
 (0)