Skip to content

Commit 89898b2

Browse files
committed
update github ci
1 parent e19a04d commit 89898b2

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed

.github/workflows/arduino-ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: Arduino
1+
# name: Arduino
22

3-
on: [pull_request, push]
3+
# on: [pull_request, push]
44

5-
jobs:
6-
arduino_ci:
7-
runs-on: ubuntu-latest
5+
# jobs:
6+
# arduino_ci:
7+
# runs-on: ubuntu-latest
88

9-
steps:
10-
- uses: actions/checkout@v2
11-
- uses: Arduino-CI/action@stable-1.x
12-
env:
13-
USE_SUBDIR: lib/MCP3x6x
14-
EXPECT_EXAMPLES: true
15-
EXPECT_UNITTESTS: false
9+
# steps:
10+
# - uses: actions/checkout@v2
11+
# - uses: Arduino-CI/action@stable-1.x
12+
# env:
13+
# USE_SUBDIR: lib/MCP3x6x
14+
# EXPECT_EXAMPLES: true
15+
# EXPECT_UNITTESTS: false

.github/workflows/platformio.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ name: PlatformIO
33
on: [push]
44

55
jobs:
6-
build:
76

7+
build:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
1111
example:
1212
- examples/analogRead_Mux/analogRead_Mux.ino
1313
- examples/analogRead_Scan/analogRead_Scan.ino
1414
- examples/analogRead_ContinuousScan/analogRead_ContinuousScan.ino
15-
1615
steps:
1716
- uses: actions/checkout@v2
1817
- name: Cache pip
@@ -35,4 +34,12 @@ jobs:
3534
- name: Run PlatformIO
3635
run: pio ci -c platformio.ini --lib=lib/MCP3x6x
3736
env:
38-
PLATFORMIO_CI_SRC: ${{ matrix.example }}
37+
PLATFORMIO_CI_SRC: ${{ matrix.example }}
38+
39+
publish:
40+
runs-on: ubuntu-latest
41+
needs: build
42+
steps:
43+
- uses: bojit/platformio-publish@main
44+
with:
45+
token: ${{ secrets.PLATFORMIO_TOKEN }}

0 commit comments

Comments
 (0)