fix(ci): Extend noglib script to all BSPs #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push noglib BSPs to Espressif Component Service | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
upload_components: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Upload noglib version of BSPs | |
# TODO: Extend this part to all BSPs | |
env: | |
BSPs: "bsp/esp32_s3_eye" | |
run: | | |
pip install idf-component-manager py-markdown-table --upgrade | |
python .github/ci/bsp_noglib.py ${BSPs} | |
- uses: espressif/upload-components-ci-action@v1 | |
with: | |
directories: > | |
bsp/esp32_s3_eye_noglib | |
namespace: "espressif" | |
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} | |
dry_run: ${{ github.ref_name != 'master' || github.repository_owner != 'espressif' }} |