From e5983a776208e04f0bd67b407afa1ae564e670a0 Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Wed, 16 Aug 2023 14:59:50 +0200 Subject: [PATCH] fix publishing --- .github/workflows/publish.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f931951..88a37e3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,20 +12,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v3 with: python-version: '3.9' - run: | - python -m pip install --upgrade pip wheel - python -m pip install -e . - python setup.py sdist bdist_wheel + python -m pip install --upgrade pip build + python -m build . - run: | - python -m venv test - ./test/bin/activate ls dist python -m pip install $(echo dist/jacobi-*.whl)'[test]' python -m pytest