Skip to content

Rename to cherryusb_esp32 to keep consistency with upstream #4

Rename to cherryusb_esp32 to keep consistency with upstream

Rename to cherryusb_esp32 to keep consistency with upstream #4

name: Push component to https://components.espressif.com
on:
push:
branches:
- master
jobs:
upload_components:
runs-on: ubuntu-latest
steps:
- name: Check the repository name
run: |
if [[ ${{ github.repository }} == "leeebo/cherryusb_esp32" ]]; then
echo "This action is only for leeebo/cherryusb_esp32 repository"
exit 0
fi
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Upload component to the component registry
uses: espressif/upload-components-ci-action@v1
with:
name: "cherryusb_esp32"
namespace: "leeebo"
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}