@@ -53,13 +53,12 @@ jobs:
53
53
source ./tools/check-deploy-needed.sh
54
54
targets_list=$(echo "${{ inputs.targets }}" | sed 's/ *, */,/g' | sed 's/^/["/' | sed 's/$/"]/' | sed 's/,/","/g')
55
55
echo "Targets list: $targets_list"
56
- echo "deploy_needed=$DEPLOY_NEEDED" >> $GITHUB_OUTPUT
57
56
echo "targets_list=$targets_list" >> $GITHUB_OUTPUT
58
57
59
58
build-libs :
60
59
name : Build for ${{ matrix.target }} (${{ inputs.idf_branch }})
61
60
runs-on : ubuntu-latest
62
- if : needs.check-if-needed.outputs.deploy_needed == '1 '
61
+ if : needs.check-if-needed.outputs.libs_has_asset == '0 '
63
62
needs : check-if-needed
64
63
strategy :
65
64
fail-fast : false
@@ -111,21 +110,25 @@ jobs:
111
110
ref : ${{ inputs.lib_builder_branch }}
112
111
113
112
- name : Replace invalid characters in the artifact name
113
+ if : needs.check-if-needed.outputs.libs_has_asset == '0'
114
114
run : |
115
115
branch=${{ inputs.idf_branch }}
116
116
echo "libs_branch=${branch//\//_}" >> $GITHUB_ENV
117
117
118
118
- name : Download artifacts
119
+ if : needs.check-if-needed.outputs.libs_has_asset == '0'
119
120
uses : actions/download-artifact@v4
120
121
with :
121
122
path : dist
122
123
pattern : libs-${{ env.libs_branch }}-*
123
124
merge-multiple : true
124
125
125
126
- name : Combine artifacts
127
+ if : needs.check-if-needed.outputs.libs_has_asset == '0'
126
128
run : bash ./tools/combine-artifacts.sh
127
129
128
130
- name : Upload full esp32-arduino-libs archive
131
+ if : needs.check-if-needed.outputs.libs_has_asset == '0'
129
132
uses : actions/upload-artifact@v4
130
133
with :
131
134
name : esp32-arduino-libs-${{ env.libs_branch }}
0 commit comments