2020 if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
2121 runs-on : [self-hosted, macOS, ARM64, cppmega-mlx-macos]
2222 timeout-minutes : 30
23- env :
24- SELF_HOSTED_RECEIPT_DIR : ${{ runner.temp }}/cppmega-mlx-ci-macos-${{ github.run_id }}-${{ github.run_attempt }}
2523 steps :
2624 - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2725 - name : Run focused MLX contract suite
@@ -34,14 +32,14 @@ jobs:
3432 --lane macos-mlx \
3533 --python "${python_bin}" \
3634 --repo-root "${GITHUB_WORKSPACE}" \
37- --receipt-dir "${SELF_HOSTED_RECEIPT_DIR }" \
35+ --receipt-dir "${RUNNER_TEMP}/cppmega-mlx-ci-macos-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT }" \
3836 --timeout-seconds 1500
3937 - name : Upload macOS runner receipt
4038 if : always()
4139 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4240 with :
4341 name : self-hosted-ci-macos-${{ github.run_id }}-${{ github.run_attempt }}
44- path : ${{ env.SELF_HOSTED_RECEIPT_DIR }}
42+ path : ${{ runner.temp }}/cppmega-mlx-ci-macos-${{ github.run_id }}-${{ github.run_attempt }}
4543 if-no-files-found : error
4644 retention-days : 14
4745
5048 if : ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
5149 runs-on : [self-hosted, Linux, X64, cppmega-mlx]
5250 timeout-minutes : 20
53- env :
54- SELF_HOSTED_RECEIPT_DIR : ${{ runner.temp }}/cppmega-mlx-ci-linux-${{ github.run_id }}-${{ github.run_attempt }}
5551 steps :
5652 - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
5753 - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
@@ -65,14 +61,14 @@ jobs:
6561 --lane linux-portable \
6662 --python python \
6763 --repo-root "${GITHUB_WORKSPACE}" \
68- --receipt-dir "${SELF_HOSTED_RECEIPT_DIR }" \
64+ --receipt-dir "${RUNNER_TEMP}/cppmega-mlx-ci-linux-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT }" \
6965 --timeout-seconds 900 \
7066 --bootstrap-portable
7167 - name : Upload Linux runner receipt
7268 if : always()
7369 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7470 with :
7571 name : self-hosted-ci-linux-${{ github.run_id }}-${{ github.run_attempt }}
76- path : ${{ env.SELF_HOSTED_RECEIPT_DIR }}
72+ path : ${{ runner.temp }}/cppmega-mlx-ci-linux-${{ github.run_id }}-${{ github.run_attempt }}
7773 if-no-files-found : error
7874 retention-days : 14
0 commit comments