Skip to content

Commit 93a4e51

Browse files
authored
Add GitHub Action to publish to espressif registry (#34)
1 parent 442f532 commit 93a4e51

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,17 @@ jobs:
2121
env:
2222
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
2323
run: pio package publish --owner esphome --non-interactive
24+
25+
publish-espressif:
26+
name: Publish to Espressif
27+
runs-on: ubuntu-latest
28+
environment: espressif
29+
steps:
30+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
31+
- name: Publish package
32+
uses: espressif/upload-components-ci-action@2ce17d73e35473317c1419dbd4f007aacb593040 # v2.2.1
33+
with:
34+
version: ${{ github.event.release.tag_name }}
35+
components: |
36+
dsmr_parser: .
37+
namespace: esphome

0 commit comments

Comments
 (0)