Skip to content

Commit

Permalink
ci: try to upload codspeed artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
LingyuCoder committed Feb 20, 2025
1 parent 17d9a02 commit 1b7fdd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
name: Build Bench
if: ${{ inputs.bench && !inputs.skipable }}
runs-on: ${{ fromJSON(inputs.runner) }}
outputs:
runner-labels: ${{ steps.upload-artifact.outputs.runner-labels || inputs.runner }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand Down Expand Up @@ -404,7 +406,7 @@ jobs:
name: Bench
needs: [build, build-bench]
if: ${{ inputs.bench && !inputs.skipable }}
runs-on: ${{ fromJSON(inputs.runner) }}
runs-on: ${{ fromJSON(needs.build-bench.outputs.runner-labels) }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
Expand Down

0 comments on commit 1b7fdd6

Please sign in to comment.