Skip to content

Commit 1021cfa

Browse files
authored
Update c-cpp.yml
1 parent 8d62760 commit 1021cfa

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

.github/workflows/c-cpp.yml

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
name: C/C++ CI
1+
name: Arduino Core 2.0.14 latest IDF
22

33
on:
4-
push:
5-
branches: [ "Arduino" ]
6-
pull_request:
7-
branches: [ "Arduino" ]
4+
workflow_dispatch: # Manually start a workflow
85

96
jobs:
10-
build:
11-
12-
runs-on: ubuntu-latest
13-
7+
build-libs:
8+
name: Build Arduino Libs
9+
runs-on: ubuntu-22.04
1410
steps:
1511
- uses: actions/checkout@v3
16-
- name: configure
17-
run: ./configure
18-
- name: make
19-
run: make
20-
- name: make check
21-
run: make check
22-
- name: make distcheck
23-
run: make distcheck
12+
- name: Install dependencies
13+
run: bash ./tools/prepare-ci.sh
14+
- name: Build Arduino Libs
15+
run: bash ./build.sh
16+
- name: Release
17+
uses: jason2866/action-gh-release@v1.2
18+
with:
19+
tag_name: ${{ github.run_number }}
20+
body_path: release-info.txt
21+
prerelease: true
22+
files: |
23+
dist/framework*
24+
release-info.txt
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)