File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -253,14 +253,23 @@ jobs:
253253 image : " ghcr.io/rust-gpu/rust-cuda-rockylinux9-cuda12:latest"
254254 runner : ubuntu-latest
255255 steps :
256+ - name : Compute artifact name
257+ id : test_artifact
258+ run : |
259+ SANITIZED_NAME=$(echo '${{ matrix.variance.name }}' | sed 's/[^a-zA-Z0-9.-]/-/g')
260+ ARTIFACT_NAME="target_debug-${SANITIZED_NAME}-${{ github.run_id }}"
261+ ARTIFACT_PATH="target/debug"
262+ echo "name=${ARTIFACT_NAME}" >> $GITHUB_OUTPUT
263+ echo "path=${ARTIFACT_PATH}" >> $GITHUB_OUTPUT
264+
256265 - name : Download build artifacts
257266 uses : actions/download-artifact@v4
258267 with :
259- name : ${{ needs.build .outputs.artifact_name }}
260- path : ${{ needs.build .outputs.artifact_path }}
268+ name : ${{ steps.test_artifact .outputs.name }}
269+ path : ${{ steps.test_artifact .outputs.path }}
261270
262271 - name : List downloaded files
263- run : ls -lR ${{ needs.build .outputs.artifact_path }}
272+ run : ls -lR ${{ steps.test_artifact .outputs.path }}
264273
265274 - name : Run remote tests
266275 env :
You can’t perform that action at this time.
0 commit comments