Skip to content

Commit a2005eb

Browse files
matsumotosanBorda
andcommitted
Fix workflow matrix reference (#21145)
Co-authored-by: Jirka Borovec <[email protected]> (cherry picked from commit c3ca8a5)
1 parent 581d576 commit a2005eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci-tests-fabric.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: pip install -q -r .actions/requirements.txt
8080

8181
- name: Set min. dependencies
82-
if: ${{ matrix.requires == 'oldest' }}
82+
if: ${{ matrix.config.requires == 'oldest' }}
8383
run: |
8484
cd requirements/fabric
8585
pip install -U "lightning-utilities[cli]"
@@ -88,7 +88,7 @@ jobs:
8888
pip install "pyyaml==5.4" --no-build-isolation
8989
9090
- name: Adjust PyTorch versions in requirements files
91-
if: ${{ matrix.requires != 'oldest' }}
91+
if: ${{ matrix.config.requires != 'oldest' }}
9292
run: |
9393
pip install -q -r requirements/ci.txt
9494
python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py

.github/workflows/ci-tests-pytorch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: pip install -q -r .actions/requirements.txt
8585

8686
- name: Set min. dependencies
87-
if: ${{ matrix.requires == 'oldest' }}
87+
if: ${{ matrix.config.requires == 'oldest' }}
8888
run: |
8989
cd requirements/pytorch
9090
pip install -U "lightning-utilities[cli]"
@@ -93,7 +93,7 @@ jobs:
9393
pip install "pyyaml==5.4" --no-build-isolation
9494
9595
- name: Adjust PyTorch versions in requirements files
96-
if: ${{ matrix.requires != 'oldest' }}
96+
if: ${{ matrix.config.requires != 'oldest' }}
9797
run: |
9898
pip install -q -r requirements/ci.txt
9999
python -m wget https://raw.githubusercontent.com/Lightning-AI/utilities/main/scripts/adjust-torch-versions.py

0 commit comments

Comments
 (0)