File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -206,9 +206,11 @@ jobs:
206
206
- name : Get status artifacts
207
207
uses : actions/download-artifact@v4
208
208
- name : Create badge
209
+ id : createbadge
209
210
shell : bash
210
211
run : |
211
212
badge=build-state.svg
213
+ echo "badge=${badge}" >> ${GITHUB_OUTPUT}
212
214
find */ -type f -name "buildstate.txt" -exec grep -h . {} + | sort -uf > allstates.txt
213
215
cat -n allstates.txt
214
216
numtests=$(grep -c . allstates.txt)
@@ -223,6 +225,8 @@ jobs:
223
225
cat "${badge}"
224
226
- name : Deploy badge to wiki
225
227
# if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
228
+ env :
229
+ badge : ${{ steps.createbadge.outputs.badge }}
226
230
run : |
227
231
echo "${badge}"
228
232
git config user.name "github-actions[bot]"
You can’t perform that action at this time.
0 commit comments