mirror of
https://github.com/Fishwaldo/esp_ghota.git
synced 2025-03-15 11:21:27 +00:00
add esp-idf action
This commit is contained in:
parent
deecb16593
commit
d934027d30
3 changed files with 25 additions and 1 deletions
20
.github/workflows/component.yml
vendored
Normal file
20
.github/workflows/component.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Push component to https://components.espressif.com
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
jobs:
|
||||
upload_components:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
||||
- name: Upload component to the component registry
|
||||
uses: espressif/upload-components-ci-action@v1
|
||||
with:
|
||||
name: "esp_ghota"
|
||||
version: ${{ github.ref_name }}
|
||||
namespace: "fishwaldo"
|
||||
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
|
4
API.md
Normal file
4
API.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
ESP Github OTA Component
|
||||
========================
|
||||
|
||||
Please see https://esp-github-ota.readthedocs.io/en/latest/index.html for API documentation.
|
|
@ -25,7 +25,7 @@ You should be careful with your GitHub PAT and putting it in the source code. I
|
|||
via the Espressif Component Registry:
|
||||
|
||||
```bash
|
||||
idf.py add-dependency Fishwaldo/ghota^1.0.0
|
||||
idf.py add-dependency Fishwaldo/ghota^0.0.1
|
||||
```
|
||||
|
||||
## Example
|
||||
|
|
Loading…
Add table
Reference in a new issue