Skip to content

Publish esp-wifi-remote #8

Publish esp-wifi-remote

Publish esp-wifi-remote #8

Workflow file for this run

name: Publish esp-wifi-remote
on:
workflow_run:
workflows: ["Build", "Compat checks"]
branches: [main]
types:
- completed
jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Publishes Tag, Release, and Uploads Component
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for version update
shell: bash
run: ./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 }}