File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ jobs:
1818 uses : actions/setup-python@v3
1919 with :
2020 python-version : ' 3.x'
21- - name : Install dependencies
21+ - name : Install pypa/build
2222 run : |
2323 python -m pip install --upgrade pip
24- pip install setuptools wheel twine
24+ pip install --user build
2525 - name : Generate and build the library
2626 run : |
2727 bash helper.sh build-ci
Original file line number Diff line number Diff line change 11{
22 "packageName" : " elabapi_python" ,
33 "projectName" : " elabapi-python" ,
4- "packageVersion" : " 0.1.2 " ,
4+ "packageVersion" : " 0.1.5 " ,
55 "packageUrl" : " https://github.com/elabftw/elabapi-python"
66}
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ function publish {
4747
4848function build-ci {
4949 generate-ci
50- build
50+ cd " $lib " || exit 1
51+ python -m build --sdist --wheel --outdir ../dist
5152}
5253
5354" $1 "
You can’t perform that action at this time.
0 commit comments