Skip to content

Commit

Permalink
get only img
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizalo committed Sep 29, 2022
1 parent 4292aaa commit c34170f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/check_build_and_doc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,18 @@ runs:
paths: "./core/target/test-reports/**/TEST-*.xml"
output: "test-summary.md"

- name: Add 2 GitHub step summary
if: ${{ success() || failure() && steps.test_summary.conclusion == 'success' }}
shell: bash
run: cat test-summary-${{ env.SPARK_VERSION }}.md >> $GITHUB_STEP_SUMMARY

- name: Add summary link
id: add_summary_link
if: ${{ success() || failure() && steps.test_summary.conclusion == 'success' }}
shell: bash
run: |
sed '1s/^/| ${{ env.SPARK_VERSION }} | [/' test-summary.md > test-summary-${{ env.SPARK_VERSION }}.md
head -1 test-summary.md | perl -pe 's/(<.*?.>).*/$1/' > test-summary-img.md
sed '1s/^/| ${{ env.SPARK_VERSION }} | [/' test-summary-img.md > test-summary-${{ env.SPARK_VERSION }}.md
printf "](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) |\n" >> test-summary-${{ env.SPARK_VERSION }}.md
- name: Add 2 GitHub step summary
Expand Down

0 comments on commit c34170f

Please sign in to comment.