Skip to content
Snippets Groups Projects
Commit 7c6a9856 authored by Jim Mussared's avatar Jim Mussared Committed by Damien George
Browse files

github/workflows: Add workflow to build mpremote wheel.

parent ce9f7cd0
No related branches found
No related tags found
No related merge requests found
name: Package mpremote
on:
push:
pull_request:
paths:
- '.github/workflows/*.yml'
- 'tools/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Version is determined from git,
# should be deep enough to get to latest tag
fetch-depth: '1000'
- run: |
git fetch --prune --unshallow --tags
- uses: actions/setup-python@v1
- name: Install build tools
run: pip install build
- name: Build mpremote wheel
run: cd tools/mpremote && python -m build --wheel
- name: Archive mpremote wheel
uses: actions/upload-artifact@v2
with:
name: mpremote
path: |
tools/mpremote/dist/mpremote*.whl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment