We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7ff43 commit ddc86b3Copy full SHA for ddc86b3
.github/workflows/publish.yml
@@ -6,8 +6,7 @@ on:
6
7
jobs:
8
deploy:
9
- # Don't run on linux to prevent spidev install from failing
10
- runs-on: macos-latest
+ runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v2
13
- name: Set up Python
@@ -17,11 +16,11 @@ jobs:
17
16
- name: Install dependencies
18
run: |
19
python -m pip install --upgrade pip
20
- pip install setuptools wheel twine
+ pip install twine build
21
- name: Build and publish
22
env:
23
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
24
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
25
26
- python setup.py bdist_wheel
+ python -m build
27
twine upload dist/*
.gitignore
@@ -1,3 +1,4 @@
1
__pycache__
2
.tox
3
python_adc_eval.egg-info
4
+dist
0 commit comments