Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Apr 30, 2024
1 parent 9b6bed4 commit 438a456
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/a11y-contrast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
).join('\n\n')
// set output
core.exportVariable('MARKDOWN', resultsMarkdown)
core.setOutput('markdown', resultsMarkdown)
// fail action if any contrast check fails
if (faildChecks > 0) {
Expand All @@ -70,7 +70,7 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const resultsMarkdown = "${{ MARKDOWN }}"
const resultsMarkdown = ${{ steps.check-results.outputs.markdown }}
// get comments
const {data: comments} = await github.rest.issues.listComments({
Expand Down Expand Up @@ -107,8 +107,8 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const resultsMarkdown = "${{ MARKDOWN }}"
const resultsMarkdown = ${{ steps.check-results.outputs.markdown }}
core.info(resultsMarkdown)
// output results to summary
core.summary.addRaw(resultsMarkdown, true)
core.summary.write({overwrite: true})
// core.summary.addRaw(resultsMarkdown, true)
// core.summary.write({overwrite: true})

0 comments on commit 438a456

Please sign in to comment.