File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,7 +123,8 @@ jobs:
123123 chmod +x $HOME/.local/bin/yq
124124 echo "$HOME/.local/bin" >> $GITHUB_PATH
125125
126- - name : Compile examples
126+ - name : Compile examples (self-hosted)
127+ if : github.event.repository.private
127128 uses : arduino/compile-sketches@v1
128129 with :
129130 fqbn : ${{ matrix.platform }}:${{ matrix.archi }}:${{ matrix.board }}
@@ -143,3 +144,22 @@ jobs:
143144 cli-compile-flags : |
144145 - --build-property
145146 - build.extra_flags=${{ matrix.build-properties }}
147+
148+ - name : Compile examples (public)
149+ if : ${{ !github.event.repository.private }}
150+ uses : arduino/compile-sketches@v1
151+ with :
152+ fqbn : ${{ matrix.platform }}:${{ matrix.archi }}:${{ matrix.board }}
153+ platforms : |
154+ - name: ${{ matrix.platform }}:${{ matrix.archi }}
155+ source-url: ${{ matrix.platform-url }}
156+ version: ${{ matrix.platform-version }}
157+ libraries : |
158+ - name: M5Unified
159+ - name: M5UnitUnified
160+ - source-path: ./
161+ sketch-paths : |
162+ - examples/UnitUnified/${{ matrix.sketch }}
163+ cli-compile-flags : |
164+ - --build-property
165+ - build.extra_flags=${{ matrix.build-properties }}
You can’t perform that action at this time.
0 commit comments