File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : ESP32 Arduino Libs CI
2
2
3
3
on :
4
- push :
5
- branches :
6
- - master
7
- pull_request :
4
+ workflow_dispatch : # Manually start a workflow
5
+ # push:
6
+ # branches:
7
+ # - master
8
+ # pull_request:
8
9
9
10
concurrency :
10
11
group : esp-idf-libs-${{github.event.pull_request.number || github.ref}}
@@ -20,13 +21,20 @@ jobs:
20
21
target : [esp32]
21
22
fail-fast : false
22
23
steps :
23
- - uses : actions/checkout@v2
24
+ - uses : actions/checkout@v3
24
25
- name : Install dependencies
25
26
run : bash ./tools/prepare-ci.sh
26
27
- name : Build Libs for ${{ matrix.target }}
27
28
run : bash ./build.sh -t ${{ matrix.target }}
28
- - name : Upload archive
29
- uses : actions/upload-artifact @v1
29
+ - name : Release
30
+ uses : jason2866/action-gh-release @v1.2
30
31
with :
31
- name : artifacts-${{ matrix.target }}
32
- path : dist
32
+ tag_name : ${{ github.run_number }}
33
+ body_path : release-info.txt
34
+ prerelease : true
35
+ files : |
36
+ dist/framework*
37
+ release-info.txt
38
+ env :
39
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
+
You can’t perform that action at this time.
0 commit comments