File tree 1 file changed +27
-14
lines changed 1 file changed +27
-14
lines changed Original file line number Diff line number Diff line change 1
- name : IDF v5.1
1
+ name : Build IDF v5.1
2
2
on :
3
- workflow_dispatch : # Manually start a workflow
3
+ push :
4
+ tags :
5
+ - " *"
4
6
5
7
jobs :
6
8
build-libs :
7
9
name : Build Arduino Libs
8
- runs-on : macos-14
10
+ runs-on : ubuntu-latest
9
11
steps :
10
12
- uses : actions/checkout@v4
11
13
- name : Set up Python
@@ -19,14 +21,25 @@ jobs:
19
21
echo "GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
20
22
- name : Build Arduino Libs
21
23
run : bash ./build.sh
22
- - name : Release
23
-
24
- with :
25
- tag_name : ${{ github.run_number }}
26
- body_path : release-info.txt
27
- prerelease : true
28
- files : |
29
- dist/framework*
30
- release-info.txt
31
- env :
32
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24
+ # - name: Release
25
+ # uses: jason2866/[email protected]
26
+ # with:
27
+ # tag_name: ${{ github.run_number }}
28
+ # body_path: release-info.txt
29
+ # prerelease: true
30
+ # files: |
31
+ # dist/framework*
32
+ # release-info.txt
33
+ # env:
34
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
+ - name : Create Release and Upload Release Asset
36
+ uses : softprops/action-gh-release@v1
37
+ if : startsWith(github.ref, 'refs/tags/')
38
+ with :
39
+ tag_name : ${{ env.REF_NAME }}
40
+ name : ${{ env.REF_NAME }}
41
+ token : ${{ secrets.ACCESS_TOKEN }}
42
+ draft : false
43
+ prerelease : false
44
+ files : |
45
+ dist/*
You can’t perform that action at this time.
0 commit comments