Re-enable sound pools if MC is installed #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wheel Builder | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build_wheels: | |
name: Push new release to PyPI | |
runs-on: ubuntu-latest | |
environment: | |
name: pypi | |
url: https://pypi.org/p/mpf | |
permissions: | |
id-token: write | |
steps: | |
- name: Checkout MPF | |
uses: actions/checkout@v3 | |
- name: Setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install MPF | |
run: | | |
pip install --upgrade pip setuptools wheel build | |
pip install -e . | |
- name: Run tests | |
run: python -m unittest discover -s mpf/tests | |
- name: Build wheel | |
run: python -m build | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./dist/*.* | |
- name: Publish to PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 |