Skip to content

Commit

Permalink
Job id can be only accessed within steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitaTT authored Mar 8, 2025
1 parent 7a10faa commit 1f2cf39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ jobs:
- in-service
- ${{ matrix.build.runs-on }}

name: "${{ github.job }} ${{ inputs.test_mark }} (${{ matrix.build.runs-on }}, ${{ matrix.build.name }})"
# Keep this name in sync with the fetch-job-id step
name: "build-and-run-tests ${{ inputs.test_mark }} (${{ matrix.build.runs-on }}, ${{ matrix.build.name }})"

container:
image: ${{ needs.build-image.outputs.docker-image }}
Expand Down Expand Up @@ -193,7 +194,7 @@ jobs:
id: fetch-job-id
uses: tenstorrent/tt-github-actions/.github/actions/job_id@main
with:
job_name: "${{ github.job }} ${{ inputs.test_mark }} (${{ matrix.build.runs-on }}, ${{ matrix.build.name }})"
job_name: "build-and-run-tests ${{ inputs.test_mark }} (${{ matrix.build.runs-on }}, ${{ matrix.build.name }})"

- name: Set reusable strings
id: strings
Expand Down

0 comments on commit 1f2cf39

Please sign in to comment.