mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
esp-idf: Add a private workflow input like with the vs code extension
This commit is contained in:
parent
291fcfb059
commit
398571a891
1 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,11 @@ name: Upload component to ESP-IDF component registry
|
|||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
private:
|
||||
type: boolean
|
||||
default: true
|
||||
required: false
|
||||
description: "Private build? True means artifacts are only built. False means the artefacts are published to components.espressif.com"
|
||||
release:
|
||||
type: boolean
|
||||
default: false
|
||||
|
@ -54,6 +59,7 @@ jobs:
|
|||
namespace: "slint"
|
||||
api_token: ${{ secrets.ESP_IDF_COMPONENTS_TOKEN }}
|
||||
directories: "api/cpp/esp-idf/slint"
|
||||
dry-run: ${{ github.event.inputs.private == 'true' }}
|
||||
- name: Package component
|
||||
if: github.event.inputs.release != 'true'
|
||||
working-directory: "api/cpp/esp-idf/slint"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue