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:
18
18
uses : actions/setup-python@v3
19
19
with :
20
20
python-version : ' 3.x'
21
- - name : Install dependencies
21
+ - name : Install pypa/build
22
22
run : |
23
23
python -m pip install --upgrade pip
24
- pip install setuptools wheel twine
24
+ pip install --user build
25
25
- name : Generate and build the library
26
26
run : |
27
27
bash helper.sh build-ci
Original file line number Diff line number Diff line change 1
1
{
2
2
"packageName" : " elabapi_python" ,
3
3
"projectName" : " elabapi-python" ,
4
- "packageVersion" : " 0.1.2 " ,
4
+ "packageVersion" : " 0.1.5 " ,
5
5
"packageUrl" : " https://github.com/elabftw/elabapi-python"
6
6
}
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ function publish {
47
47
48
48
function build-ci {
49
49
generate-ci
50
- build
50
+ cd " $lib " || exit 1
51
+ python -m build --sdist --wheel --outdir ../dist
51
52
}
52
53
53
54
" $1 "
You can’t perform that action at this time.
0 commit comments