Skip to content

Manual Build SDK For the Specific Target #1

Manual Build SDK For the Specific Target

Manual Build SDK For the Specific Target #1

name: Manual Build SDK For the Specific Target
on:
workflow_dispatch:
inputs:
name:
type: choice
description: Choose Target
default: 'all'
options:
- 'all'
- 'esp32'
- 'esp32s2'
- 'esp32s3'
- 'esp32c3'
- 'esp32c6'
- 'esp32h6'
jobs:
run:
name: Build ${{ github.ref_name }} SDK For ${{ github.event.inputs.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: bash ./tools/prepare-ci.sh
- name: Build
shell: bash
run: |
export TARGET_TYPE=${{ github.event.inputs.name }}
echo "Building for $TARGET_TYPE"
bash ./build.sh -e -t $TARGET_TYPE
- name: Upload archive
uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist