From bbb5d61c495f33ed4d91ced51c2406f16d3c5c55 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Tue, 12 Dec 2023 14:59:29 +0000 Subject: [PATCH] Fix python package release (#90) --- .github/workflows/ci.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d3ad81b..d4f15033 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,22 +111,19 @@ jobs: steps: - uses: actions/checkout@v3 - - name: set up python - uses: actions/setup-python@v4 + - uses: actions/setup-python@v4 with: python-version: '3.11' - - name: install - run: pip install -U build + - run: pip install -U build - - name: check version - id: check-version + - id: check-version uses: samuelcolvin/check-python-version@v4.1 with: version_file_path: 'src/python-fastui/fastui/__init__.py' - - name: build - run: python -m build + - run: python -m build --outdir dist src/python-fastui + + - run: ls -lh dist - - name: Upload package to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + - uses: pypa/gh-action-pypi-publish@release/v1