File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 7
7
deploy :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
+
10
11
- uses : actions/checkout@v2
12
+
11
13
- name : Install node
12
14
uses : actions/setup-node@v1
13
15
with :
14
16
node-version : ' 14.x'
15
17
registry-url : ' https://registry.npmjs.org'
18
+
16
19
- name : Install Python
17
20
uses : actions/setup-python@v2
18
21
with :
19
22
python-version : ' 3.x'
23
+
20
24
- name : Install dependencies
21
25
run : |
22
26
python -m pip install --upgrade pip
23
27
pip install twine wheel build
28
+
24
29
- name : Publish the Python package
25
30
env :
26
31
TWINE_USERNAME : __token__
27
32
TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
28
33
run : |
29
34
python -m build
30
35
twine upload dist/ipympl-*
36
+
31
37
- name : Publish the NPM package
32
38
run : |
33
- cd js
34
39
echo $PRE_RELEASE
35
40
if [[ $PRE_RELEASE == "true" ]]; then export TAG="next"; else export TAG="latest"; fi
36
41
npm publish --tag ${TAG} --access public
You can’t perform that action at this time.
0 commit comments