We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce9f7cd commit 7c6a985Copy full SHA for 7c6a985
.github/workflows/mpremote.yml
@@ -0,0 +1,31 @@
1
+name: Package mpremote
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ paths:
7
+ - '.github/workflows/*.yml'
8
+ - 'tools/**'
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ with:
16
+ # Version is determined from git,
17
+ # should be deep enough to get to latest tag
18
+ fetch-depth: '1000'
19
+ - run: |
20
+ git fetch --prune --unshallow --tags
21
+ - uses: actions/setup-python@v1
22
+ - name: Install build tools
23
+ run: pip install build
24
+ - name: Build mpremote wheel
25
+ run: cd tools/mpremote && python -m build --wheel
26
+ - name: Archive mpremote wheel
27
+ uses: actions/upload-artifact@v2
28
29
+ name: mpremote
30
+ path: |
31
+ tools/mpremote/dist/mpremote*.whl
0 commit comments