Skip to content

Commit 8692a63

Browse files
committed
try again the build/publish
1 parent cbc25a3 commit 8692a63

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
}

helper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ function publish {
4747

4848
function build-ci {
4949
generate-ci
50-
build
50+
cd "$lib" || exit 1
51+
python -m build --sdist --wheel --outdir ../dist
5152
}
5253

5354
"$1"

0 commit comments

Comments
 (0)