Skip to content

Commit b10289d

Browse files
committed
stick to the fixed setup tools version
1 parent 9ca0e11 commit b10289d

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: test publish pypi package
2+
3+
on:
4+
push:
5+
branches:
6+
fix-setup-tools
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Set up Python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: 3.8
17+
- name: Install pipenv
18+
run: |
19+
python -m pip install --upgrade pip
20+
python -m pip install --upgrade setuptools==71.1.0 wheel==0.44.0
21+
python -m pip install --upgrade pipenv
22+
- name: Install dependencies
23+
run: pipenv install --dev
24+
- name: Publish package
25+
run: |
26+
pipenv run pipenv install
27+
pipenv run python setup.py sdist bdist_wheel
28+
env:
29+
PACKAGE_VERSION_TO_PUBLISH: ${{ github.event.release.name }}

0 commit comments

Comments
 (0)