File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 publish_release :
102102 name : Publish Release
103103 runs-on : ubuntu-latest
104- if : github.ref == 'refs/heads/main' || ${{ github.event_name }} == 'workflow_dispatch'
104+ if : ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
105105
106106 permissions :
107107 # This permission is needed for private repositories.
Original file line number Diff line number Diff line change 8181 publish_release :
8282 name : Publish Release
8383 runs-on : ubuntu-latest
84- if : github.ref == 'refs/heads/main' || ${{ github.event_name }} == 'workflow_dispatch'
85- needs :
86- - build
84+ if : ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
8785
8886 permissions :
8987 # This permission is needed for private repositories.
9391 # This permission is needed for creating tags
9492 contents : write
9593
94+ needs :
95+ - build
96+
9697 defaults :
9798 run :
9899 shell : bash -l {0}
You can’t perform that action at this time.
0 commit comments