Skip to content

Commit 2ba3218

Browse files
committed
.github/workflows/build.yml: Flash an available platform
Upstream-Status: Inappropriate [Dasharo downstream] Change-Id: I7439052efbce39be7fd12bde6b7f024146503d66 Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
1 parent f4de26d commit 2ba3218

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,27 @@ jobs:
215215
build/coreboot.rom
216216
build/coreboot.cap
217217
retention-days: 30
218+
flash_protectli_vp66xx:
219+
if: github.event_name == 'push' && github.ref == 'refs/heads/dasharo-25.12'
220+
needs: build_protectli
221+
runs-on: self-hosted
222+
steps:
223+
- name: Checkout repository
224+
uses: actions/checkout@v5
225+
- name: Download firmware artifact
226+
uses: actions/download-artifact@v5
227+
with:
228+
name: dasharo-protectli-vp66xx
229+
path: artifact
230+
- name: Install dependencies
231+
run: |
232+
python3 -m pip install --user requests
233+
pipx install osfv-cli || pip install --user osfv-cli
234+
- name: Flash via SnipeIT-managed RTE
235+
env:
236+
SNIPEIT_IP: ${{ secrets.SNIPEIT_IP }}
237+
SNIPEIT_API_KEY: ${{ secrets.SNIPEIT_API_KEY }}
238+
run: python3 .github/scripts/flash_via_snipeit.py artifact/coreboot.rom "VP66xx"
218239
build_pcengines:
219240
runs-on: ubuntu-24.04
220241
strategy:

0 commit comments

Comments
 (0)