Skip to content

Commit 5f49d46

Browse files
committed
alt implementation of matrix_config
1 parent f4644f6 commit 5f49d46

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,17 @@ jobs:
2828
matrix_config:
2929
name: Matrix Config
3030
runs-on: ubuntu-22.04
31+
env:
32+
RELEASE: {{ github.event_name == 'release' }}
33+
3134
outputs:
3235
matrix_os: ${{ steps.step.outputs.matrix_os }}
3336

3437
steps:
38+
- run: echo "$RELEASE"
3539
- id: step
36-
run: echo "matrix_os=[macos-13-xlarge, ubuntu-22.04, windows-2022]" >> $GITHUB_OUTPUT
37-
if: github.event_name == 'release'
38-
3940
run: echo "matrix_os=[macos-13, ubuntu-22.04, windows-2022]" >> $GITHUB_OUTPUT
40-
if: github.event_name != 'release'
41+
4142

4243
whl_3_8:
4344
name: Build / ${{ matrix.os }} / Python 3.${{ matrix.minor }}

0 commit comments

Comments
 (0)