-
Notifications
You must be signed in to change notification settings - Fork 127
80 lines (77 loc) · 2.19 KB
/
upload_component.yml
File metadata and controls
80 lines (77 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: Push components to Espressif Component Service
on:
# For pull requests: perform upload with "--dry-run" argument,
# i.e. validate that the component passes all checks for being uploaded.
pull_request:
# For pushes to master: actually upload the components to the registry.
push:
branches:
- master
jobs:
upload_components:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- run: |
echo "${{ ( github.ref_name != 'master' || github.repository_owner != 'espressif' ) && 'Checking' || 'Uploading' }} components"
- name: Upload components to component service
uses: espressif/upload-components-ci-action@v2
with:
components: |
argtable3
bdc_motor
catch2
cbor
ccomp_timer
cjson
coap
coremark
dhara
eigen
esp_daylight
esp_cli_commands
esp_delta_ota
esp_encrypted_img
esp_flash_dispatcher
esp_ext_part_tables
esp_gcov
esp_isotp
esp_lcd_qemu_rgb
esp_linenoise
esp_jpeg
esp_schedule
esp_cli
esp_serial_slave_link
esp_sysview
expat
fmt
freetype
iqmath
jsmn
json_generator
json_parser
led_strip
libsodium
network_provisioning
nghttp
onewire_bus
pcap
pid_ctrl
qrcode
quirc
sh2lib
spi_nand_flash
supertinycron
thorvg
touch_element
unit-test-app
zlib
libpng
libjpeg-turbo
namespace: "espressif"
# API token will only be available in the master branch in the main repository.
# However, dry-run doesn't require a valid token.
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
dry_run: ${{ github.ref_name != 'master' || github.repository_owner != 'espressif' }}