Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
9.Pre-compiled end-to-end gpu driver validation
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <shivaku@nvidia.com>
shivakunv committed Aug 30, 2024
1 parent cd292da commit d675506
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci-precompiled.yaml
Original file line number Diff line number Diff line change
@@ -48,23 +48,23 @@ jobs:
matrix_array: ${{ steps.collect_outputs.outputs.matrix_array }}

steps:
- name: Initialize array file
run: echo "[]" > matrix_array.json
- name: Initialize array file
run: echo "[]" > matrix_array.json

- name: Append matrix version to array
run: |
# Read the existing array
current_array=$(cat matrix_array.json)
# Append the current matrix version to the array
updated_array=$(echo $current_array | jq '. += ["${{ matrix.version }}"]')
- name: Append matrix version to array
run: |
# Read the existing array
current_array=$(cat matrix_array.json)
# Save the updated array back to the file
echo $updated_array > matrix_array.json
# Append the current matrix version to the array
updated_array=$(echo $current_array | jq '. += ["${{ matrix.version }}"]')
# Save the updated array back to the file
echo $updated_array > matrix_array.json
- name: Set matrix_array output
id: collect_outputs
run: echo "matrix_array=$(cat matrix_array.json)" >> $GITHUB_OUTPUT
- name: Set matrix_array output
id: collect_outputs
run: echo "matrix_array=$(cat matrix_array.json)" >> $GITHUB_OUTPUT

job2:
needs: job1

0 comments on commit d675506

Please sign in to comment.