Skip to content

Commit 120393e

Browse files
committed
ci: Create release on github.ref == refs/heads/main
1 parent 521f64e commit 120393e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/wheel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
path: ${{ env.wheel_path }}
6969

7070
create_release:
71-
if: github.ref == 'main' && ( github.event_name != 'workflow_call' && github.event_name != 'workflow_dispatch' )
71+
if: github.ref == 'refs/heads/main' && ( github.event_name != 'workflow_call' && github.event_name != 'workflow_dispatch' )
7272
needs: [build_and_upload_wheel_linux, build_and_upload_wheel_mac]
7373
runs-on: ubuntu-latest
7474
steps:

0 commit comments

Comments
 (0)