Skip to content

Commit bbb5d61

Browse files
authored
Fix python package release (#90)
1 parent 8f269bc commit bbb5d61

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,22 +111,19 @@ jobs:
111111
steps:
112112
- uses: actions/checkout@v3
113113

114-
- name: set up python
115-
uses: actions/setup-python@v4
114+
- uses: actions/setup-python@v4
116115
with:
117116
python-version: '3.11'
118117

119-
- name: install
120-
run: pip install -U build
118+
- run: pip install -U build
121119

122-
- name: check version
123-
id: check-version
120+
- id: check-version
124121
uses: samuelcolvin/check-python-version@v4.1
125122
with:
126123
version_file_path: 'src/python-fastui/fastui/__init__.py'
127124

128-
- name: build
129-
run: python -m build
125+
- run: python -m build --outdir dist src/python-fastui
126+
127+
- run: ls -lh dist
130128

131-
- name: Upload package to PyPI
132-
uses: pypa/gh-action-pypi-publish@release/v1
129+
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)