File tree 2 files changed +23
-6
lines changed 2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -311,17 +311,34 @@ jobs:
311
311
coverage : ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
312
312
typing : ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
313
313
314
+ TriggerTaggedRelease :
315
+ uses : pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@dev
316
+ needs :
317
+ - Prepare
318
+ - UnitTesting
319
+ # - AppTesting
320
+ # - StaticTypeCheck
321
+ - Package
322
+ - PublishToGitHubPages
323
+ if : needs.Prepare.outputs.is_release_commit
324
+ permissions :
325
+ contents : write # required for create tag
326
+ actions : write # required for trigger workflow
327
+ with :
328
+ version : ${{ needs.Prepare.outputs.version }}
329
+ auto_tag : ${{ needs.Prepare.outputs.is_release_commit }}
330
+ secrets : inherit
331
+
314
332
ReleasePage :
315
333
uses : pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@dev
316
- if : startsWith(github.ref, 'refs/tags')
317
334
needs :
318
335
- Prepare
319
336
- UnitTesting
320
337
# - AppTesting
321
338
# - StaticTypeCheck
322
339
- Package
323
340
- PublishToGitHubPages
324
- secrets : inherit
341
+ if : needs.Prepare.outputs.is_release_tag
325
342
permissions :
326
343
contents : write
327
344
actions : write
@@ -331,10 +348,11 @@ jobs:
331
348
332
349
PublishOnPyPI :
333
350
uses : pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
334
- if : startsWith(github.ref, 'refs/tags')
335
351
needs :
352
+ - Prepare
336
353
- UnitTestingParams
337
354
- ReleasePage
355
+ if : needs.Prepare.outputs.is_release_tag
338
356
with :
339
357
python_version : ${{ needs.UnitTestingParams.outputs.python_version }}
340
358
requirements : -r dist/requirements.txt
Original file line number Diff line number Diff line change @@ -208,15 +208,14 @@ jobs:
208
208
209
209
ReleasePage :
210
210
uses : pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@dev
211
- if : startsWith(github.ref, 'refs/tags')
212
211
needs :
213
212
- Prepare
214
213
- UnitTesting
215
214
- PlatformTesting
216
215
# - StaticTypeCheck
217
216
- Package
218
217
- PublishToGitHubPages
219
- secrets : inherit
218
+ if : needs.Prepare.outputs.is_release_tag
220
219
permissions :
221
220
contents : write
222
221
actions : write
@@ -226,11 +225,11 @@ jobs:
226
225
227
226
PublishOnPyPI :
228
227
uses : pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
229
- if : startsWith(github.ref, 'refs/tags')
230
228
needs :
231
229
- UnitTestingParams
232
230
- ReleasePage
233
231
# - Package
232
+ if : needs.Prepare.outputs.is_release_tag
234
233
with :
235
234
python_version : ${{ needs.UnitTestingParams.outputs.python_version }}
236
235
requirements : -r dist/requirements.txt
You can’t perform that action at this time.
0 commit comments