Skip to content

Commit

Permalink
feat: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzw655 committed Feb 2, 2024
1 parent a2e9c72 commit 7619030
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 221 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build_sdk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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
138 changes: 0 additions & 138 deletions .github/workflows/cron.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/push.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/repository_dispatch.yml

This file was deleted.

0 comments on commit 7619030

Please sign in to comment.