Skip to content

Commit

Permalink
ci: add a workflow to publish the component to ESP component registry
Browse files Browse the repository at this point in the history
  • Loading branch information
trombik committed Oct 10, 2024
1 parent 5f9d5a0 commit 9217c5b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---

name: Push component to https://components.espressif.com
on:
push:
tags:
- v*
jobs:
upload_components:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Upload component to the component registry
uses: espressif/upload-components-ci-action@b78a19fa5424714997596d3ecffa634aef8ae20b
with:
name: "esp_wireguard"
version: ${{ github.ref_name }}
namespace: "trombik"
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
5 changes: 5 additions & 0 deletions idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
version: "0.9.0"
description: WireGuard Implementation for ESP-IDF
url: https://github.com/trombik/esp_wireguard
license: BSD-3-Clause

0 comments on commit 9217c5b

Please sign in to comment.