Skip to content

Publish esp-wifi-remote #2

Publish esp-wifi-remote

Publish esp-wifi-remote #2

Workflow file for this run

name: Publish esp-wifi-remote
on:
workflow_run:
workflows: ["Build", "Compat checks"]
branches: [main]
types:
- completed
jobs:
publish:

Check failure on line 11 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish esp-wifi-remote

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Publishes Tag, Release, and Uploads Component
needs: build_idf_examples_with_wifi_remote
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout protocols
uses: actions/checkout@v4
with:
repository: espressif/esp-protocols
ref: wifi_remote-v0.4.0
sparse-checkout: |
ci/detect_component_bump
sparse-checkout-cone-mode: false
path: protocols
- name: Check for version update
shell: bash
run: $GITHUB_WORKSPACE/protocols/ci/detect_component_bump
- name: Tag merge commit
if: env.BUMP_VERSION != ''
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_TAG: ${{ env.BUMP_TAG }}
- name: Create Release
if: env.BUMP_VERSION != ''
uses: softprops/action-gh-release@v1
with:
body_path: "release_notes.md"
tag_name: ${{ env.BUMP_TAG }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload esp_wifi_remote to IDF Component Registry
uses: espressif/upload-components-ci-action@v1
with:
directories: >
components/esp_wifi_remote;
namespace: "espressif"
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}