Skip to content

Commit ed7b2b6

Browse files
committed
Fix release condition
1 parent a6a45ff commit ed7b2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
path: artifact
101101

102102
release:
103-
if: ${{ github.ref == 'refs/heads/main' && (github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))) }}
103+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) }}
104104
needs: build
105105
runs-on: ubuntu-latest
106106
permissions:

0 commit comments

Comments
 (0)