Skip to content

Commit cdf2993

Browse files
committed
catch global var
1 parent 742a364 commit cdf2993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/mend.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
runs-on: ubuntu-22.04
7070
#needs: check-if-allowed
7171
outputs:
72-
mend-report-file: ${{ steps.report.mend-report-file }}
72+
mend-report-file: ${{ steps.report.outputs.mend-report-file }}
7373
steps:
7474
- name: Checkout Repository
7575
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -129,7 +129,7 @@ jobs:
129129
- name: Print scan report
130130
id: print
131131
run: |
132-
cat ${{ steps.report.mend-report-file }} | jq .
132+
echo "mend-report=$(cat ${{ steps.report.outputs.mend-report-file }} | jq .)" >> $GITHUB_OUTPUT
133133
134134
upload:
135135
name: Archive mend scan report

0 commit comments

Comments
 (0)