8000 share badge-file between steps · v4l2loopback/v4l2loopback@d551f5d · GitHub
[go: up one dir, main page]

Skip to content

Commit d551f5d

Browse files 8000
IOhannes m zmölnigIOhannes m zmölnig
authored andcommitted
share badge-file between steps
1 parent 2e50c66 commit d551f5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/kmod-compatibility-checks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,11 @@ jobs:
206206
- name: Get status artifacts
207207
uses: actions/download-artifact@v4
208208
- name: Create badge
209+
id: createbadge
209210
shell: bash
210211
run: |
211212
badge=build-state.svg
213+
echo "badge=${badge}" >> ${GITHUB_OUTPUT}
212214
find */ -type f -name "buildstate.txt" -exec grep -h . {} + | sort -uf > allstates.txt
213215
cat -n allstates.txt
214216
numtests=$(grep -c . allstates.txt)
@@ -223,6 +225,8 @@ jobs:
223225
cat "${badge}"
224226
- name: Deploy badge to wiki
225227
#if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
228+
env:
229+
badge: ${{ steps.createbadge.outputs.badge }}
226230
run: |
227231
echo "${badge}"
228232
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)
0