Skip to content

Commit 1c0fd4e

Browse files
committed
Fix publish conditionals
1 parent 6875829 commit 1c0fd4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
publish:
8787
name: Publish to crates.io
8888
runs-on: ubuntu-latest
89-
if: ${{ (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
89+
if: ${{ startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') }}
9090
needs: [check_format, build_workspace, build_lib_all_features, build_lib_no_default_features]
9191
steps:
9292
- uses: actions/checkout@v4

.github/workflows/pysplashsurf_CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ jobs:
325325
publish:
326326
name: Publish to PyPI
327327
runs-on: ubuntu-latest
328-
if: ${{ (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
328+
if: ${{ startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main') }}
329329
needs: [linux_wheels, macos_wheels, windows_wheels, sdist, tests, docs]
330330
steps:
331331
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)