diff --git a/.github/workflows/scheduling-benchmarking.yaml b/.github/workflows/scheduling-benchmarking.yaml index 0fd522174..fc4e54f47 100644 --- a/.github/workflows/scheduling-benchmarking.yaml +++ b/.github/workflows/scheduling-benchmarking.yaml @@ -20,7 +20,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Run Test - id: test-run + id: test-run-before run: | { cd pkg/controllers/provisioning/scheduling @@ -29,8 +29,6 @@ jobs: echo EOF } >> "$GITHUB_OUTPUT" - uses: actions/github-script@v7 - env: - BEFORE_OUTPUT: ${{ steps.test-run.outputs.BEFORE_OUTPUT }} with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -38,7 +36,7 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: steps.test-run.outputs.BEFORE_OUTPUT + body: jobs.before.steps.test-run-before.outputs.BEFORE_OUTPUT }) after: permissions: @@ -50,7 +48,7 @@ jobs: with: fetch-depth: 0 - name: Run Test - id: test-run + id: test-run-after run: | { cd pkg/controllers/provisioning/scheduling @@ -59,8 +57,6 @@ jobs: echo EOF } >> "$GITHUB_OUTPUT" - uses: actions/github-script@v7 - env: - BEFORE_OUTPUT: ${{ steps.test-run.outputs.AFTER_OUTPUT }} with: github-token: ${{secrets.GITHUB_TOKEN}} script: | @@ -68,5 +64,5 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: '${{ steps.test-run.outputs.AFTER_OUTPUT }}' + body: jobs.before.steps.test-run-after.outputs.AFTER_OUTPUT }) \ No newline at end of file