From e3e0f30bdc321034f47121a5e6e03b9eff682339 Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Thu, 7 Mar 2024 07:07:48 +0100 Subject: [PATCH] ci: fix wheel working dir --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af0d352..e8c7825 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -222,18 +222,19 @@ jobs: args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 pypy3.9 pypy3.10' }} rust-toolchain: stable docker-options: -e CI + working-directory: python - - run: ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} dist/ - - run: twine check --strict dist/* + - run: ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} python/dist/ + - run: twine check --strict python/dist/* - uses: actions/upload-artifact@v4 with: name: nanopub_wheel_${{ matrix.os }}_${{ matrix.target }}_${{ matrix.interpreter || 'all' }}_${{ matrix.manylinux }} - path: dist + path: python/dist - name: Publish to PyPI if: startsWith(github.ref, 'refs/tags/') - run: twine upload dist/* + run: twine upload python/dist/* env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}