Skip to content

Commit 96881ab

Browse files
committed
Try fixing the release job
1 parent e91488d commit 96881ab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,35 @@ jobs:
77
deploy:
88
runs-on: ubuntu-latest
99
steps:
10+
1011
- uses: actions/checkout@v2
12+
1113
- name: Install node
1214
uses: actions/setup-node@v1
1315
with:
1416
node-version: '14.x'
1517
registry-url: 'https://registry.npmjs.org'
18+
1619
- name: Install Python
1720
uses: actions/setup-python@v2
1821
with:
1922
python-version: '3.x'
23+
2024
- name: Install dependencies
2125
run: |
2226
python -m pip install --upgrade pip
2327
pip install twine wheel build
28+
2429
- name: Publish the Python package
2530
env:
2631
TWINE_USERNAME: __token__
2732
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2833
run: |
2934
python -m build
3035
twine upload dist/ipympl-*
36+
3137
- name: Publish the NPM package
3238
run: |
33-
cd js
3439
echo $PRE_RELEASE
3540
if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi
3641
npm publish --tag ${TAG} --access public

0 commit comments

Comments
 (0)