Skip to content

Commit

Permalink
Merge pull request #8 from n-elia/action-tests
Browse files Browse the repository at this point in the history
Provides a fix for PiPy GitHub action
  • Loading branch information
n-elia authored Mar 15, 2022
2 parents 1f1dcd2 + 1df213d commit fadc1c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install build
pip install twine
- name: Build package
run: python -m build -s
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{secrets.PYPI_API_TOKEN}}
3 changes: 3 additions & 0 deletions max30102/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
from utime import sleep_ms, ticks_diff, ticks_ms


__version__ = '0.3.2'


# These I2C default settings work for TinyPico (ESP32-based board)
MAX3010X_I2C_ADDRESS = 0x57
I2C_SPEED_FAST = 400000 # 400kHz speed
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="micropython-max30102",
version="0.3.1",
version="0.3.2",
description="MAX30102 driver for micropython.",
long_description=open("README.md").read(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit fadc1c3

Please sign in to comment.