5e50593738
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
720 B
YAML
30 lines
720 B
YAML
name: Package mpremote
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/*.yml'
|
|
- 'tools/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
# Setting this to zero means fetch all history and tags,
|
|
# which hatch-vcs can use to discover the version tag.
|
|
fetch-depth: 0
|
|
- uses: actions/setup-python@v4
|
|
- 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@v3
|
|
with:
|
|
name: mpremote
|
|
path: |
|
|
tools/mpremote/dist/mpremote*.whl
|