@@ -373,7 +373,7 @@ jobs:\n",
373
373
with:
374
374
target: ${{{{ matrix.platform.target }}}}
375
375
args: --release --out dist{maturin_args}
376
- sccache: 'true'
376
+ sccache: ${{{{ !startsWith(github.ref, 'refs/tags/') }}}}
377
377
"
378
378
) ) ;
379
379
let maturin_action_args = match platform {
@@ -393,7 +393,7 @@ jobs:\n",
393
393
with:
394
394
target: ${{{{ matrix.platform.target }}}}
395
395
args: --release --out dist{maturin_args} -i python3.13t
396
- sccache: 'true'
396
+ sccache: ${{{{ !startsWith(github.ref, 'refs/tags/') }}}}
397
397
"
398
398
) ) ;
399
399
if !maturin_action_args. is_empty ( ) {
@@ -729,7 +729,7 @@ mod tests {
729
729
with:
730
730
target: ${{ matrix.platform.target }}
731
731
args: --release --out dist --find-interpreter
732
- sccache: 'true'
732
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
733
733
manylinux: auto
734
734
- name: Upload wheels
735
735
uses: actions/upload-artifact@v4
@@ -760,7 +760,7 @@ mod tests {
760
760
with:
761
761
target: ${{ matrix.platform.target }}
762
762
args: --release --out dist --find-interpreter
763
- sccache: 'true'
763
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
764
764
manylinux: musllinux_1_2
765
765
- name: Upload wheels
766
766
uses: actions/upload-artifact@v4
@@ -788,7 +788,7 @@ mod tests {
788
788
with:
789
789
target: ${{ matrix.platform.target }}
790
790
args: --release --out dist --find-interpreter
791
- sccache: 'true'
791
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
792
792
- name: Upload wheels
793
793
uses: actions/upload-artifact@v4
794
794
with:
@@ -814,7 +814,7 @@ mod tests {
814
814
with:
815
815
target: ${{ matrix.platform.target }}
816
816
args: --release --out dist --find-interpreter
817
- sccache: 'true'
817
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
818
818
- name: Upload wheels
819
819
uses: actions/upload-artifact@v4
820
820
with:
@@ -929,14 +929,14 @@ mod tests {
929
929
with:
930
930
target: ${{ matrix.platform.target }}
931
931
args: --release --out dist
932
- sccache: 'true'
932
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
933
933
manylinux: auto
934
934
- name: Build free-threaded wheels
935
935
uses: PyO3/maturin-action@v1
936
936
with:
937
937
target: ${{ matrix.platform.target }}
938
938
args: --release --out dist -i python3.13t
939
- sccache: 'true'
939
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
940
940
manylinux: auto
941
941
- name: Upload wheels
942
942
uses: actions/upload-artifact@v4
@@ -967,14 +967,14 @@ mod tests {
967
967
with:
968
968
target: ${{ matrix.platform.target }}
969
969
args: --release --out dist
970
- sccache: 'true'
970
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
971
971
manylinux: musllinux_1_2
972
972
- name: Build free-threaded wheels
973
973
uses: PyO3/maturin-action@v1
974
974
with:
975
975
target: ${{ matrix.platform.target }}
976
976
args: --release --out dist -i python3.13t
977
- sccache: 'true'
977
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
978
978
manylinux: musllinux_1_2
979
979
- name: Upload wheels
980
980
uses: actions/upload-artifact@v4
@@ -1002,13 +1002,13 @@ mod tests {
1002
1002
with:
1003
1003
target: ${{ matrix.platform.target }}
1004
1004
args: --release --out dist
1005
- sccache: 'true'
1005
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1006
1006
- name: Build free-threaded wheels
1007
1007
uses: PyO3/maturin-action@v1
1008
1008
with:
1009
1009
target: ${{ matrix.platform.target }}
1010
1010
args: --release --out dist -i python3.13t
1011
- sccache: 'true'
1011
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1012
1012
- name: Upload wheels
1013
1013
uses: actions/upload-artifact@v4
1014
1014
with:
@@ -1034,13 +1034,13 @@ mod tests {
1034
1034
with:
1035
1035
target: ${{ matrix.platform.target }}
1036
1036
args: --release --out dist
1037
- sccache: 'true'
1037
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1038
1038
- name: Build free-threaded wheels
1039
1039
uses: PyO3/maturin-action@v1
1040
1040
with:
1041
1041
target: ${{ matrix.platform.target }}
1042
1042
args: --release --out dist -i python3.13t
1043
- sccache: 'true'
1043
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1044
1044
- name: Upload wheels
1045
1045
uses: actions/upload-artifact@v4
1046
1046
with:
@@ -1143,14 +1143,14 @@ mod tests {
1143
1143
with:
1144
1144
target: ${{ matrix.platform.target }}
1145
1145
args: --release --out dist
1146
- sccache: 'true'
1146
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1147
1147
manylinux: auto
1148
1148
- name: Build free-threaded wheels
1149
1149
uses: PyO3/maturin-action@v1
1150
1150
with:
1151
1151
target: ${{ matrix.platform.target }}
1152
1152
args: --release --out dist -i python3.13t
1153
- sccache: 'true'
1153
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1154
1154
manylinux: auto
1155
1155
- name: Upload wheels
1156
1156
uses: actions/upload-artifact@v4
@@ -1181,14 +1181,14 @@ mod tests {
1181
1181
with:
1182
1182
target: ${{ matrix.platform.target }}
1183
1183
args: --release --out dist
1184
- sccache: 'true'
1184
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1185
1185
manylinux: musllinux_1_2
1186
1186
- name: Build free-threaded wheels
1187
1187
uses: PyO3/maturin-action@v1
1188
1188
with:
1189
1189
target: ${{ matrix.platform.target }}
1190
1190
args: --release --out dist -i python3.13t
1191
- sccache: 'true'
1191
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1192
1192
manylinux: musllinux_1_2
1193
1193
- name: Upload wheels
1194
1194
uses: actions/upload-artifact@v4
@@ -1216,13 +1216,13 @@ mod tests {
1216
1216
with:
1217
1217
target: ${{ matrix.platform.target }}
1218
1218
args: --release --out dist
1219
- sccache: 'true'
1219
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1220
1220
- name: Build free-threaded wheels
1221
1221
uses: PyO3/maturin-action@v1
1222
1222
with:
1223
1223
target: ${{ matrix.platform.target }}
1224
1224
args: --release --out dist -i python3.13t
1225
- sccache: 'true'
1225
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1226
1226
- name: Upload wheels
1227
1227
uses: actions/upload-artifact@v4
1228
1228
with:
@@ -1248,13 +1248,13 @@ mod tests {
1248
1248
with:
1249
1249
target: ${{ matrix.platform.target }}
1250
1250
args: --release --out dist
1251
- sccache: 'true'
1251
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1252
1252
- name: Build free-threaded wheels
1253
1253
uses: PyO3/maturin-action@v1
1254
1254
with:
1255
1255
target: ${{ matrix.platform.target }}
1256
1256
args: --release --out dist -i python3.13t
1257
- sccache: 'true'
1257
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1258
1258
- name: Upload wheels
1259
1259
uses: actions/upload-artifact@v4
1260
1260
with:
@@ -1349,7 +1349,7 @@ mod tests {
1349
1349
with:
1350
1350
target: ${{ matrix.platform.target }}
1351
1351
args: --release --out dist --find-interpreter --zig
1352
- sccache: 'true'
1352
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1353
1353
manylinux: auto
1354
1354
- name: Upload wheels
1355
1355
uses: actions/upload-artifact@v4
@@ -1405,7 +1405,7 @@ mod tests {
1405
1405
with:
1406
1406
target: ${{ matrix.platform.target }}
1407
1407
args: --release --out dist --find-interpreter
1408
- sccache: 'true'
1408
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1409
1409
manylinux: musllinux_1_2
1410
1410
- name: Upload wheels
1411
1411
uses: actions/upload-artifact@v4
@@ -1463,7 +1463,7 @@ mod tests {
1463
1463
with:
1464
1464
target: ${{ matrix.platform.target }}
1465
1465
args: --release --out dist --find-interpreter
1466
- sccache: 'true'
1466
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1467
1467
- name: Upload wheels
1468
1468
uses: actions/upload-artifact@v4
1469
1469
with:
@@ -1499,7 +1499,7 @@ mod tests {
1499
1499
with:
1500
1500
target: ${{ matrix.platform.target }}
1501
1501
args: --release --out dist --find-interpreter
1502
- sccache: 'true'
1502
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1503
1503
- name: Upload wheels
1504
1504
uses: actions/upload-artifact@v4
1505
1505
with:
@@ -1608,7 +1608,7 @@ mod tests {
1608
1608
with:
1609
1609
target: ${{ matrix.platform.target }}
1610
1610
args: --release --out dist
1611
- sccache: 'true'
1611
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1612
1612
manylinux: auto
1613
1613
- name: Upload wheels
1614
1614
uses: actions/upload-artifact@v4
@@ -1636,7 +1636,7 @@ mod tests {
1636
1636
with:
1637
1637
target: ${{ matrix.platform.target }}
1638
1638
args: --release --out dist
1639
- sccache: 'true'
1639
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1640
1640
manylinux: musllinux_1_2
1641
1641
- name: Upload wheels
1642
1642
uses: actions/upload-artifact@v4
@@ -1660,7 +1660,7 @@ mod tests {
1660
1660
with:
1661
1661
target: ${{ matrix.platform.target }}
1662
1662
args: --release --out dist
1663
- sccache: 'true'
1663
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1664
1664
- name: Upload wheels
1665
1665
uses: actions/upload-artifact@v4
1666
1666
with:
@@ -1683,7 +1683,7 @@ mod tests {
1683
1683
with:
1684
1684
target: ${{ matrix.platform.target }}
1685
1685
args: --release --out dist
1686
- sccache: 'true'
1686
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
1687
1687
- name: Upload wheels
1688
1688
uses: actions/upload-artifact@v4
1689
1689
with:
0 commit comments