Skip to content

Commit

Permalink
ci: Check build result on pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
windowsair committed Apr 28, 2024
1 parent 623ac76 commit adfecf1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: build

on:
push:
paths-ignore:
- '**.md'
- 'circuit'

pull_request:
paths-ignore:
- '**.md'
- 'circuit'

# env:
# UPLOAD_USER_FIRMWARE: false


jobs:
build:
runs-on: ubuntu-20.04
Expand All @@ -19,7 +20,6 @@ jobs:
matrix:
target-hardware: [esp8266, esp32, esp32c3, esp32s3]


steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -58,7 +58,6 @@ jobs:
# echo "::set-output name=release_tag::UserBuild_$(date +"%Y.%m.%d_%H-%M")"
# echo "::set-output name=status::success"


- name: Build for esp32/esp32c3
if: matrix.target-hardware != 'esp8266'
uses: espressif/esp-idf-ci-action@v1
Expand All @@ -67,7 +66,6 @@ jobs:
target: ${{ matrix.target-hardware }}
path: './'


- name: Merge bin files (esp8266)
if: matrix.target-hardware == 'esp8266'
run: |
Expand Down

0 comments on commit adfecf1

Please sign in to comment.