Skip to content

Commit

Permalink
try again the build/publish
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Dec 9, 2022
1 parent cbc25a3 commit 8692a63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
- name: Install pypa/build
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install --user build
- name: Generate and build the library
run: |
bash helper.sh build-ci
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packageName": "elabapi_python",
"projectName": "elabapi-python",
"packageVersion": "0.1.2",
"packageVersion": "0.1.5",
"packageUrl": "https://github.com/elabftw/elabapi-python"
}
3 changes: 2 additions & 1 deletion helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ function publish {

function build-ci {
generate-ci
build
cd "$lib" || exit 1
python -m build --sdist --wheel --outdir ../dist
}

"$1"

0 comments on commit 8692a63

Please sign in to comment.