Skip to content

Commit 2bf2156

Browse files
committed
udpate actions
1 parent 563af49 commit 2bf2156

6 files changed

Lines changed: 19 additions & 24 deletions

File tree

.github/workflows/compile-blink.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Compile blink
55
on:
66
push:
77
paths:
8-
- 'examples/blink/*'
8+
- examples/blink
99
- .github/workflows/compile.yaml
1010
- .github/workflows/compile-blink.yaml
1111

.github/workflows/compile-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
# CHANGE program/lib/aux as needed
19+
# CHANGE program and specify lib/aux and non-default src as needed
2020
program:
2121
- name: 'controller'
2222
lib: 'LoggerCore DeviceNameHelperRK FileHelperRK SequentialFileRK PublishQueueExtRK SparkFun_Qwiic_OpenLog_Arduino_Library'

.github/workflows/compile-function.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ name: Compile function
55
on:
66
push:
77
paths:
8-
- 'examples/function/*'
9-
- 'LoggerCore/src/*'
8+
- examples/function
9+
- LoggerCore/src
1010
- .github/workflows/compile.yaml
1111
- .github/workflows/compile-function.yaml
1212

@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
# CHANGE program/lib/aux as needed
19+
# CHANGE program and specify lib/aux and non-default src as needed
2020
program:
2121
- name: 'function'
2222
aux: 'LoggerCore/src/LoggerFunction* LoggerCore/src/LoggerModule*'

.github/workflows/compile-i2c_scanner.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Compile i2c scanner
55
on:
66
push:
77
paths:
8-
- 'examples/i2c_scanner/*'
8+
- examples/i2c_scanner
99
- .github/workflows/compile.yaml
1010
- .github/workflows/compile-i2c_scanner.yaml
1111

@@ -15,12 +15,9 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
# CHANGE program/lib/aux as needed
18+
# CHANGE program and specify lib/aux and non-default src as needed
1919
program:
2020
- name: 'i2s_scanner'
21-
src: 'examples/i2c_scanner'
22-
lib: ''
23-
aux: ''
2421
# CHANGE platforms as needed
2522
platform:
2623
- {name: 'photon', version: '2.3.1'}
@@ -34,9 +31,9 @@ jobs:
3431
uses: ./.github/workflows/compile.yaml
3532
secrets: inherit
3633
with:
37-
program: ${{ matrix.program.name }}
3834
platform: ${{ matrix.platform.name }}
3935
version: ${{ matrix.platform.version }}
40-
src: ${{ matrix.program.src }}
41-
lib: ${{ matrix.program.lib }}
42-
aux: ${{ matrix.program.aux }}
36+
program: ${{ matrix.program.name }}
37+
src: ${{ matrix.program.src || '' }}
38+
lib: ${{ matrix.program.lib || '' }}
39+
aux: ${{ matrix.program.aux || '' }}

.github/workflows/compile-oled.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Compile oled
55
on:
66
push:
77
paths:
8-
- 'examples/oled/*'
8+
- examples/oled
99
- .github/workflows/compile.yaml
1010
- .github/workflows/compile-oled.yaml
1111

@@ -15,12 +15,10 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
# CHANGE program/lib/aux as needed
18+
# CHANGE program and specify lib/aux and non-default src as needed
1919
program:
2020
- name: 'oled'
21-
src: 'examples/oled'
2221
lib: 'Adafruit_SSD1306_RK Adafruit_GFX_RK Adafruit_BusIO_RK'
23-
aux: ''
2422
# CHANGE platforms as needed
2523
platform:
2624
- {name: 'p2', version: '6.3.2'}
@@ -32,9 +30,9 @@ jobs:
3230
uses: ./.github/workflows/compile.yaml
3331
secrets: inherit
3432
with:
35-
program: ${{ matrix.program.name }}
3633
platform: ${{ matrix.platform.name }}
3734
version: ${{ matrix.platform.version }}
38-
src: ${{ matrix.program.src }}
39-
lib: ${{ matrix.program.lib }}
40-
aux: ${{ matrix.program.aux }}
35+
program: ${{ matrix.program.name }}
36+
src: ${{ matrix.program.src || '' }}
37+
lib: ${{ matrix.program.lib || '' }}
38+
aux: ${{ matrix.program.aux || '' }}

.github/workflows/compile-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ name: Compile publish
55
on:
66
push:
77
paths:
8-
- 'examples/publish/*'
9-
- 'LoggerCore/src/*'
8+
- examples/publish
9+
- LoggerCore/src
1010
- .github/workflows/compile.yaml
1111
- .github/workflows/compile-publish.yaml
1212

0 commit comments

Comments
 (0)