|
7 | 7 | branches: |
8 | 8 | - master |
9 | 9 | release: |
10 | | - types: [published] |
| 10 | + types: published |
11 | 11 |
|
12 | 12 | jobs: |
13 | 13 | tar_gz: |
@@ -53,11 +53,13 @@ jobs: |
53 | 53 | - uses: actions/checkout@master |
54 | 54 | - uses: actions/setup-python@master |
55 | 55 | - run: echo '::add-matcher::.github/problem-matchers/gcc.json' |
56 | | - if: matrix.os == 'macos-13' || matrix.os == 'ubuntu-22.04' |
| 56 | + if: startsWith(matrix.os, 'macos-') || startsWith(matrix.os, 'ubuntu-') |
57 | 57 | - run: echo '::add-matcher::.github/problem-matchers/msvc.json' |
58 | | - if: matrix.os == 'windows-2022' |
| 58 | + if: startsWith(matrix.os, 'windows-') |
59 | 59 |
|
60 | 60 | - run: pip install pipx |
| 61 | + if: startsWith(matrix.os, 'macos-') |
| 62 | + |
61 | 63 | |
62 | 64 | with: |
63 | 65 | output-dir: dist |
@@ -86,11 +88,13 @@ jobs: |
86 | 88 | - uses: actions/checkout@master |
87 | 89 | - uses: actions/setup-python@master |
88 | 90 | - run: echo '::add-matcher::.github/problem-matchers/gcc.json' |
89 | | - if: matrix.os == 'macos-13' || matrix.os == 'ubuntu-22.04' |
| 91 | + if: startsWith(matrix.os, 'macos-') || startsWith(matrix.os, 'ubuntu-') |
90 | 92 | - run: echo '::add-matcher::.github/problem-matchers/msvc.json' |
91 | | - if: matrix.os == 'windows-2022' |
| 93 | + if: startsWith(matrix.os, 'windows-') |
92 | 94 |
|
93 | 95 | - run: pip install pipx |
| 96 | + if: startsWith(matrix.os, 'macos-') |
| 97 | + |
94 | 98 | |
95 | 99 | with: |
96 | 100 | output-dir: dist |
@@ -119,11 +123,13 @@ jobs: |
119 | 123 | - uses: actions/checkout@master |
120 | 124 | - uses: actions/setup-python@master |
121 | 125 | - run: echo '::add-matcher::.github/problem-matchers/gcc.json' |
122 | | - if: matrix.os == 'macos-13' || matrix.os == 'ubuntu-22.04' |
| 126 | + if: startsWith(matrix.os, 'macos-') || startsWith(matrix.os, 'ubuntu-') |
123 | 127 | - run: echo '::add-matcher::.github/problem-matchers/msvc.json' |
124 | | - if: matrix.os == 'windows-2022' |
| 128 | + if: startsWith(matrix.os, 'windows-') |
125 | 129 |
|
126 | 130 | - run: pip install pipx |
| 131 | + if: startsWith(matrix.os, 'macos-') |
| 132 | + |
127 | 133 | |
128 | 134 | with: |
129 | 135 | output-dir: dist |
|
0 commit comments