diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..f935492 --- /dev/null +++ b/.github/workflows/publish.yml @@ -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 }} diff --git a/idf_component.yml b/idf_component.yml new file mode 100644 index 0000000..b126256 --- /dev/null +++ b/idf_component.yml @@ -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