10
10
matrix :
11
11
python :
12
12
- ' 3.10'
13
+ # - '3.11'
14
+ # - '3.12'
15
+ # - '3.13'
13
16
runs-on : ubuntu-latest
14
17
steps :
15
18
- name : π₯ Check-out
40
43
matrix :
41
44
python :
42
45
- ' 3.10'
46
+ # - '3.11'
47
+ # - '3.12'
48
+ # - '3.13'
43
49
runs-on : ubuntu-latest
44
50
steps :
45
51
- name : π₯ Check-out
62
68
matrix :
63
69
python :
64
70
- ' 3.10'
71
+ # - '3.11'
72
+ # - '3.12'
73
+ # - '3.13'
65
74
runs-on : ubuntu-latest
66
75
steps :
67
76
- name : π₯ Check-out
84
93
matrix :
85
94
python :
86
95
- ' 3.10'
96
+ # - '3.11'
97
+ # - '3.12'
98
+ # - '3.13'
87
99
runs-on : ubuntu-latest
88
100
steps :
89
101
- name : π₯ Check-out
@@ -106,6 +118,9 @@ jobs:
106
118
matrix :
107
119
python :
108
120
- ' 3.10'
121
+ # - '3.11'
122
+ # - '3.12'
123
+ # - '3.13'
109
124
runs-on : ubuntu-latest
110
125
steps :
111
126
- name : π₯ Check-out
@@ -126,7 +141,6 @@ jobs:
126
141
uses : codecov/codecov-action@v3
127
142
if : matrix.python == '3.10'
128
143
with :
129
- fail_ci_if_error : true
130
144
token : ${{ secrets.CODECOV_TOKEN }}
131
145
docker-build :
132
146
name : ποΈ Build Docker image
@@ -145,7 +159,7 @@ jobs:
145
159
push : false
146
160
python-publish :
147
161
name : π Publish Python wheels
148
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
162
+ if : github.event_name == 'push' && endsWith(github.event.base_ref, 'main') && startsWith(github.ref, 'refs/tags')
149
163
needs :
150
164
- python-build
151
165
- python-code-check
@@ -168,7 +182,7 @@ jobs:
168
182
uses : pypa/gh-action-pypi-publish@release/v1
169
183
docker-publish :
170
184
name : π Publish Docker image
171
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
185
+ if : github.event_name == 'push' && endsWith(github.event.base_ref, 'main') && startsWith(github.ref, 'refs/tags')
172
186
permissions :
173
187
packages : write
174
188
needs :
@@ -207,7 +221,7 @@ jobs:
207
221
labels : ${{ steps.meta.outputs.labels }}
208
222
github-release :
209
223
name : π Create GitHub release
210
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
224
+ if : github.event_name == 'push' && endsWith(github.event.base_ref, 'main') && startsWith(github.ref, 'refs/tags')
211
225
needs :
212
226
- python-build
213
227
- python-code-check
0 commit comments