Skip to content

Commit c0d3b18

Browse files
committed
Set element of matrix
1 parent df92d8c commit c0d3b18

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/rust-target.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,24 @@ jobs:
1515
define-matrix:
1616
runs-on: ubuntu-latest
1717
outputs:
18-
matrix: ${{ steps.define-matrix.outputs.matrix }}
18+
setup: ${{ steps.define-setup.outputs.setup }}
1919

2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- name: Define Matrix
24-
id: define-matrix
23+
- name: Define Setup
24+
id: define-setup
2525
run: |
26-
matrix=$(python ci/set_versions.py)
27-
echo "matrix=$matrix" >> $GITHUB_OUTPUT
26+
setup=$(python ci/set_versions.py)
27+
echo "setup=$setup" >> $GITHUB_OUTPUT
2828
2929
test:
3030
runs-on: ubuntu-latest
3131
needs: [define-matrix]
3232
strategy:
3333
fail-fast: false
34-
matrix: ${{ fromJSON(needs.define-matrix.outputs.matrix) }}
34+
matrix:
35+
setup: ${{ fromJSON(needs.define-matrix.outputs.setup) }}
3536
steps:
3637
- uses: actions/checkout@v4
3738

0 commit comments

Comments
 (0)