Skip to content

Commit 7697eb0

Browse files
committed
fix(cd): use success shorthand
1 parent 32e2a8f commit 7697eb0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/publish.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,14 @@ on:
44
release:
55
types: [released]
66

7-
87
jobs:
9-
108
tests:
119
name: "Tests"
1210
uses: "./.github/workflows/tests.yml"
1311

1412
build:
1513
needs: [tests]
16-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
14+
if: ${{ success() }}
1715
env:
1816
PYPI_TOKEN_AUTOVIZWIDGET: ${{ secrets.PYPI_TOKEN_AUTOVIZWIDGET }}
1917
PYPI_TOKEN_HDIJUPYTERUTILS: ${{ secrets.PYPI_TOKEN_HDIJUPYTERUTILS }}

0 commit comments

Comments
 (0)