File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Release"
2+
3+ on : workflow_dispatch
4+
5+ jobs :
6+ release :
7+ name : Release RadioLib update
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Checkout repository
12+ uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 0
15+
16+ - name : Checkout latest tag
17+ run : git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
18+
19+ - name : Setup Python
20+ - uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.9'
23+
24+ - name : Install PlatformIO and ESP-IDF
25+ run : |
26+ pip install --upgrade platformio
27+ pip install --upgrade idf-component-manager
28+
29+ - name : PlatformIO publish
30+ env :
31+ PLATFORMIO_AUTH_TOKEN : ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
32+ run : pio pkg publish --no-interactive
33+
34+ - name : ESP-IDF publish
35+ env :
36+ IDF_COMPONENT_API_TOKEN : ${{ secrets.IDF_COMPONENT_API_TOKEN }}
37+ run : compote component upload --name TestLib --namespace jgromes
You can’t perform that action at this time.
0 commit comments