forked from n-vr/setup-platformio-action
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 888 Bytes
/
test-action.yml
File metadata and controls
44 lines (35 loc) · 888 Bytes
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
name: Test action
on:
pull_request:
branches: [ main ]
paths-ignore:
- '**.md'
jobs:
build-without-version:
name: Build without version
runs-on: ubuntu-latest
steps:
# Checks-out repo
- name: Checkout code
uses: actions/checkout@v4
# Use the local action
- name: Setup PlatformIO (without version)
uses: ./
# Check if pio command works
- name: Check pio command
run: pio --help
build-with-version:
name: Build with version
runs-on: ubuntu-latest
steps:
# Checks-out repo
- name: Checkout code
uses: actions/checkout@v4
# Use the local action
- name: Setup PlatformIO (with version)
uses: ./
with:
platformio-version: "6.1.11"
# Check if pio command works
- name: Check pio command
run: pio --help