-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 908 Bytes
/
build.yml
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
name: Build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
config:
- name: "Pico"
board_name: pico
- name: "Pico 2"
board_name: pico2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
id: build
uses: samyarsadat/Pico-Build-Action@v1
with:
source_dir: "."
board_name: ${{matrix.config.board_name}}
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: traintastic-cs-${{matrix.config.board_name}}
path: ${{steps.build.outputs.output_dir}}