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 1b5a882 commit 7dcd7f0Copy full SHA for 7dcd7f0
.github/workflows/pio-publish.yaml
@@ -0,0 +1,30 @@
1
+name: Publish to PlatformIO
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
10
+ defaults:
11
+ run:
12
+ working-directory: .
13
14
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - uses: actions/cache@v3
17
+ with:
18
+ path: |
19
+ ~/.cache/pip
20
+ ~/.platformio/.cache
21
+ key: ${{ runner.os }}-pio
22
+ - uses: actions/setup-python@v4
23
24
+ python-version: "3.9"
25
+ - name: Install PlatformIO Core
26
+ run: pip install --upgrade platformio
27
+ - name: Publish
28
+ env:
29
+ PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_PAT }}
30
+ run: pio pkg publish --no-interactive
0 commit comments