Skip to content

Commit e29d77c

Browse files
authored
Merge pull request #1 from fronzbot/fix-publish
Fix publish
2 parents 7f7ff43 + 506690e commit e29d77c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ on:
66

77
jobs:
88
deploy:
9-
# Don't run on linux to prevent spidev install from failing
10-
runs-on: macos-latest
9+
runs-on: ubuntu-latest
1110
steps:
1211
- uses: actions/checkout@v2
1312
- name: Set up Python
@@ -17,11 +16,11 @@ jobs:
1716
- name: Install dependencies
1817
run: |
1918
python -m pip install --upgrade pip
20-
pip install setuptools wheel twine
19+
pip install twine build
2120
- name: Build and publish
2221
env:
2322
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2423
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2524
run: |
26-
python setup.py bdist_wheel
25+
python -m build
2726
twine upload dist/*

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
__pycache__
22
.tox
33
python_adc_eval.egg-info
4+
dist

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "python-adc-eval"
7-
version = "0.1.0rc0"
7+
version = "0.1.0rc1"
88
license = {text = "MIT"}
99
description = "ADC Evaluation Library"
1010
readme = "README.rst"

0 commit comments

Comments
 (0)