Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit 8318bed

Browse files
committed
chore:ci
1 parent 54f1530 commit 8318bed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
3333
- name: Build changelog
3434
id: build_changelog
35+
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
3536
uses: mikepenz/release-changelog-builder-action@v3.6.0
3637
env:
3738
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -63,6 +64,7 @@ jobs:
6364
linux/amd64
6465
- name: Github release
6566
uses: softprops/action-gh-release@v1
67+
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
6668
with:
6769
body: ${{steps.build_changelog.outputs.changelog}}
6870
env:

0 commit comments

Comments
 (0)