Skip to content

Commit 04f4df8

Browse files
syntax
1 parent 3e80877 commit 04f4df8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/package.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,12 @@ jobs:
7676
name: Build a PyPI-compatible index
7777
runs-on: ubuntu-latest
7878
needs: [create_release_artifacts]
79-
if: ${{ always() && !failure() && !cancelled() &&
80-
(github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository))}}
79+
if: |
80+
${{ always() && !failure() && !cancelled()}} &&
81+
(
82+
github.event_name == 'push' ||
83+
github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
84+
)
8185
permissions:
8286
contents: write
8387
actions: read
@@ -102,4 +106,3 @@ jobs:
102106

103107
- name: Deploy to GitHub Pages
104108
uses: actions/deploy-pages@v4
105-

0 commit comments

Comments
 (0)