File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,21 @@ jobs:
56
56
latest_version=$(strings bin/aws-lambda-rie* | grep '^go1\.' | uniq)
57
57
echo "latest_version=$latest_version"
58
58
make check-binaries
59
+ - if : always()
60
+ name : Save output for new version
61
+ id : save-new-version
62
+ run : |
59
63
exit_code=$?
60
- if [ "$exit_code " != "0 " ]; then
64
+ if [ "${{ steps.check-new-version.outcome }} " != "success " ]; then
61
65
fixed="No"
62
66
else
63
67
fixed="Yes"
64
68
fi
65
69
echo "fixed=$fixed" >> "$GITHUB_OUTPUT"
66
70
echo "Fixed=$fixed"
67
- echo "${{ steps.check-new-version.outputs.latest_version }}"
68
- echo "${{ needs.check-for-vulnerabilities.outputs.report_contents }}"
71
+ echo "OUTCOME=${{ steps.check-new-version.outcome }}"
72
+ echo "latest-version: ${{ steps.check-new-version.outputs.latest_version }}"
73
+ echo "REPORT=[${{ steps.save-output.outputs.report_contents }}"
69
74
- name : Second step
70
75
id : second-step
71
76
run : |
80
85
# CVEs found in latest RIE release
81
86
# body: |
82
87
# ## CVEs found in latest RIE release:
83
- # > **${{ needs.check-for-vulnerabilities .outputs.report_contents }}**
88
+ # > **${{ steps.save-output .outputs.report_contents }}**
84
89
85
90
# #### Is this fixed by just updating to the latest Go version (${{ steps.check-new-version.outputs.latest_version }})?):
86
91
# **${{ steps.check-new-version.outputs.fixed }}**
You can’t perform that action at this time.
0 commit comments