Skip to content

Commit f28ee8a

Browse files
authored
Update main.yml
1 parent 179d4ea commit f28ee8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
4949
- name: 'Create GitHub Release'
5050
uses: softprops/action-gh-release@v1
51+
if: ${{ github.event_name == 'workflow_dispatch' }}
5152
with:
5253
files: ./LeetcodeSessionManager*.zip
5354
tag_name: v${{ github.run_number }}
54-
if: ${{ github.event_name == 'workflow_dispatch' }}
5555
name: Release V${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)