Skip to content

Commit 2fd85d0

Browse files
authored
Updated code to pass log through env vars (#6730)
1 parent bca7f17 commit 2fd85d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/runAqa.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ jobs:
5151
- name: Create error comment
5252
if: failure()
5353
uses: actions/github-script@v8
54+
env:
55+
LOG_OUTPUT: ${{ steps.output_log.outputs.log }}
5456
with:
5557
github-token: ${{secrets.GITHUB_TOKEN}}
5658
script: |
57-
const log_content = `${{ steps.output_log.outputs.log }}`;
59+
const log_content = process.env.LOG_OUTPUT;
5860
const comment_body = [
5961
`@${{ github.actor }}`,
6062
'```',

0 commit comments

Comments
 (0)