Skip to content

feat: update actions #3

feat: update actions

feat: update actions #3

Workflow file for this run

name: Build SDK For Target
on:
push:
branches:
- '!master'
- '**'
workflow_dispatch:
inputs:
name:
type: choice
description: Choose Target
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: |
echo "Building for ${{ github.event.inputs.name }}"
bash ./build.sh -e -t ${{ github.event.inputs.name }}"
- name: Upload archive
uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist