diff --git a/.github/workflows/scheduling-benchmarking.yaml b/.github/workflows/scheduling-benchmarking.yaml index dddaaf29d..0277c8201 100644 --- a/.github/workflows/scheduling-benchmarking.yaml +++ b/.github/workflows/scheduling-benchmarking.yaml @@ -27,12 +27,12 @@ jobs: echo 'BEFORE_OUTPUT<> $GITHUB_OUTPUT + } >> "$GITHUB_OUTPUT" - uses: actions/github-script@v7 + env: + BEFORE_OUTPUT: ${{ steps.test-run.outputs.BEFORE_OUTPUT }} with: github-token: ${{secrets.GITHUB_TOKEN}} - env: - BEFORE_OUTPUT: ${{ steps.test-run.outputs.BEFORE_OUTPUT }} script: | github.rest.issues.createComment({ issue_number: context.issue.number, @@ -54,19 +54,19 @@ jobs: run: | { cd pkg/controllers/provisioning/scheduling - echo 'BEFORE_OUTPUT<> $GITHUB_OUTPUT + } >> "$GITHUB_OUTPUT" - uses: actions/github-script@v7 + env: + BEFORE_OUTPUT: ${{ steps.test-run.outputs.AFTER_OUTPUT }} with: github-token: ${{secrets.GITHUB_TOKEN}} - env: - BEFORE_OUTPUT: ${{ steps.test-run.outputs.BEFORE_OUTPUT }} script: | github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: '$BEFORE_OUTPUT' + body: '$AFTER_OUTPUT' }) \ No newline at end of file