Skip to content

Commit 3941491

Browse files
committed
Fixed CI
1 parent 034eaf7 commit 3941491

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
- published
3030

3131
env:
32-
NODE_VERSION: 18.x
32+
NODE_VERSION: 24.x
3333
PYTHON_VERSION: 3.x
3434

3535
permissions:
@@ -96,7 +96,6 @@ jobs:
9696
permissions:
9797
id-token: write
9898
steps:
99-
10099
- name: Checkout repository
101100
uses: actions/checkout@v5
102101

@@ -116,6 +115,7 @@ jobs:
116115
run: python -m build
117116

118117
- name: Publish Python package
118+
if: github.event_name == 'release'
119119
uses: pypa/gh-action-pypi-publish@release/v1
120120

121121
docker:

0 commit comments

Comments
 (0)