Skip to content

Commit 11a14c8

Browse files
committed
Only create release with main branch
1 parent b6c2a8d commit 11a14c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
path: ${{ env.OUTPUT_PATH }}
5757

5858
- name: Create release
59+
if: github.ref == 'refs/heads/main'
5960
id: create_release
6061
uses: softprops/action-gh-release@v1
6162
env:

0 commit comments

Comments
 (0)