Skip to content

fix workflow string #27

fix workflow string

fix workflow string #27

name: Manual Build SDK (v3) For the Specific Target
on:
workflow_dispatch:
inputs:
target:
type: choice
description: Choose Target
default: 'all'
options:
- 'all'
- 'esp32'
- 'esp32s2'
- 'esp32s3'
- 'esp32c3'
- 'esp32c6'
- 'esp32h2'
log_level:
type: choice
description: Choose Log Level
default: 'default'
options:
- 'default'
- 'none'
- 'verbose'
- 'debug'
- 'info'
- 'warning'
- 'error'
jobs:
run:
name: Build ${{ github.ref_name }} SDK (v3) For ${{ github.event.inputs.target }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: bash ./tools/prepare-ci.sh
- name: Build
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export TARGET_TYPE=${{ github.event.inputs.target }}
export LOG_LEVEL=${{ github.event.inputs.log_level }}
echo "Building for $TARGET_TYPE (log_level: $LOG_LEVEL)"
bash ./build.sh -e -d -t $TARGET_TYPE -D $LOG_LEVEL
- name: Upload archive
uses: actions/upload-artifact@v3
with:
name: artifacts
path: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: jason2866/action-gh-release@v1.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.target }} (log_level: ${{ github.event.inputs.log_level }}) ${{ github.run_number }}

Check failure on line 65 in .github/workflows/build_sdk_manual_v3.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_sdk_manual_v3.yml

Invalid workflow file

You have an error in your yaml syntax on line 65
files: |
dist/framework*