Skip to content

Commit 652cb5f

Browse files
committed
issue with publish
1 parent 90c6f6c commit 652cb5f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v3
1919
with:
20-
python-version: '3.11' # Set your Python version here
20+
python-version: '3.11' # Specify your Python version here
2121

2222
- name: Install dependencies
2323
run: pip install -r requirements.txt
@@ -41,10 +41,11 @@ jobs:
4141
run: pip install -r requirements.txt
4242

4343
- name: Build package
44-
run: python setup.py sdist bdist_wheel
44+
run: |
45+
python setup.py sdist
46+
python setup.py bdist_wheel
4547
4648
- name: Publish to PyPI
4749
uses: pypa/gh-action-pypi-publish@v1.7.1
4850
with:
4951
password: ${{ secrets.PYPI_API_TOKEN }}
50-

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
# requirements.txt
12
pandas
23
requests
34
pytest
4-
pytest-mock
5+
pytest-mock
6+
wheel

0 commit comments

Comments
 (0)