Skip to content

Commit fadc1c3

Browse files
authored
Merge pull request #8 from n-elia/action-tests
Provides a fix for PiPy GitHub action
2 parents 1f1dcd2 + 1df213d commit fadc1c3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/python-publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
run: |
2828
python -m pip install --upgrade pip
2929
pip install build
30+
pip install twine
3031
- name: Build package
3132
run: python -m build -s
3233
- name: Publish package
3334
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3435
with:
3536
user: __token__
36-
password: ${{ secrets.PYPI_API_TOKEN }}
37+
password: ${{secrets.PYPI_API_TOKEN}}

max30102/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
from utime import sleep_ms, ticks_diff, ticks_ms
2525

2626

27+
__version__ = '0.3.2'
28+
29+
2730
# These I2C default settings work for TinyPico (ESP32-based board)
2831
MAX3010X_I2C_ADDRESS = 0x57
2932
I2C_SPEED_FAST = 400000 # 400kHz speed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name="micropython-max30102",
6-
version="0.3.1",
6+
version="0.3.2",
77
description="MAX30102 driver for micropython.",
88
long_description=open("README.md").read(),
99
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)