@@ -11,7 +11,7 @@ concurrency:
11
11
cancel-in-progress : true
12
12
13
13
jobs :
14
- check-deploy-needed :
14
+ check :
15
15
name : Check if result should be deployed
16
16
runs-on : ubuntu-latest
17
17
outputs :
@@ -35,10 +35,10 @@ jobs:
35
35
GIT_COMMITTER_EMAIL : ${{ secrets.PUSH_EMAIL }}
36
36
run : bash ./tools/check-deploy-needed.sh
37
37
38
- build-libs :
38
+ build :
39
39
name : Build Libs for ${{ matrix.target }}
40
40
runs-on : ubuntu-latest
41
- needs : check-deploy-needed
41
+ needs : check
42
42
strategy :
43
43
matrix :
44
44
target : [esp32, esp32s2, esp32s3, esp32c3, esp32c6, esp32h2]
@@ -57,28 +57,30 @@ jobs:
57
57
# name: artifacts
58
58
# path: dist
59
59
60
- deploy-to-repos :
60
+ deploy :
61
61
name : Deploy build
62
62
runs-on : ubuntu-latest
63
- needs : build-libs
63
+ needs :
64
+ check
65
+ build
64
66
steps :
65
67
- uses : actions/checkout@v3
66
68
- shell : bash
67
69
env :
68
70
GITHUB_TOKEN : ${{ secrets.PUSH_TOKEN }}
69
71
GIT_AUTHOR_EMAIL : ${{ secrets.PUSH_EMAIL }}
70
72
GIT_COMMITTER_EMAIL : ${{ secrets.PUSH_EMAIL }}
71
- IDF_COMMIT : ${{ needs.check-deploy-needed .outputs.idf_commit }}
72
- AR_BRANCH : ${{ needs.check-deploy-needed .outputs.ar_branch }}
73
- AR_NEW_COMMIT_MESSAGE : ${{ needs.check-deploy-needed .outputs.ar_new_commit_message }}
74
- AR_NEW_BRANCH_NAME : ${{ needs.check-deploy-needed .outputs.ar_new_branch_name }}
75
- AR_NEW_PR_TITLE : ${{ needs.check-deploy-needed .outputs.ar_new_pr_title }}
76
- AR_HAS_COMMIT : ${{ needs.check-deploy-needed .outputs.ar_has_commit }}
77
- AR_HAS_BRANCH : ${{ needs.check-deploy-needed .outputs.ar_has_branch }}
78
- AR_HAS_PR : ${{ needs.check-deploy-needed .outputs.ar_has_pr }}
79
- LIBS_VERSION : ${{ needs.check-deploy-needed .outputs.libs_version }}
80
- LIBS_HAS_COMMIT : ${{ needs.check-deploy-needed .outputs.libs_has_commit }}
81
- LIBS_HAS_BRANCH : ${{ needs.check-deploy-needed .outputs.libs_has_branch }}
73
+ IDF_COMMIT : ${{ needs.check.outputs.idf_commit }}
74
+ AR_BRANCH : ${{ needs.check.outputs.ar_branch }}
75
+ AR_NEW_COMMIT_MESSAGE : ${{ needs.check.outputs.ar_new_commit_message }}
76
+ AR_NEW_BRANCH_NAME : ${{ needs.check.outputs.ar_new_branch_name }}
77
+ AR_NEW_PR_TITLE : ${{ needs.check.outputs.ar_new_pr_title }}
78
+ AR_HAS_COMMIT : ${{ needs.check.outputs.ar_has_commit }}
79
+ AR_HAS_BRANCH : ${{ needs.check.outputs.ar_has_branch }}
80
+ AR_HAS_PR : ${{ needs.check.outputs.ar_has_pr }}
81
+ LIBS_VERSION : ${{ needs.check.outputs.libs_version }}
82
+ LIBS_HAS_COMMIT : ${{ needs.check.outputs.libs_has_commit }}
83
+ LIBS_HAS_BRANCH : ${{ needs.check.outputs.libs_has_branch }}
82
84
run : |
83
85
echo "IDF_COMMIT: $IDF_COMMIT"
84
86
echo "AR_BRANCH: $AR_BRANCH"
0 commit comments