Update .gitlab-ci.yml file #21
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 component to https://components.espressif.com | |
on: | |
push: | |
branches: | |
- feature/ext_component_host | |
jobs: | |
create_components: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
- run: python -m pip install --upgrade idf-component-manager | |
- run: ls -lrt | |
- run: echo $(pwd) | |
- run: cp -r common host/ | |
- run: cp -r common slave/ | |
upload_component_host: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload host component to the component registry | |
uses: espressif/upload-components-ci-action@v1 | |
with: | |
directories: "host" | |
name: "esp_hosted_host" | |
namespace: "mantriyogesh" | |
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} | |
needs: [create_components] | |
upload_component_slave: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload slave component to the component registry | |
uses: espressif/upload-components-ci-action@v1 | |
with: | |
directories: "slave" | |
name: "esp_hosted_slave" | |
namespace: "mantriyogesh" | |
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }} | |
needs: [create_components] |