Skip to content

Commit

Permalink
Fix python package release (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin authored Dec 12, 2023
1 parent 8f269bc commit bbb5d61
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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

0 comments on commit bbb5d61

Please sign in to comment.