File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -319,13 +319,40 @@ jobs:
319
319
--parallel-live
320
320
--skip-missing-interpreters false
321
321
--notest
322
+
323
+ - name : Setup git user as [bot]
324
+ if : >-
325
+ fromJSON(needs.pre-setup.outputs.is-untagged-devel)
326
+ run : >
327
+ git config --local user.email
328
+ 'github-actions[bot]@users.noreply.github.com'
329
+
330
+ git config --local user.name 'github-actions[bot]'
331
+ - name : >-
332
+ Tag the release in the local Git repo
333
+ as ${{ needs.pre-setup.outputs.git-tag }}
334
+ for setuptools-scm to se the desired version
335
+ if: >-
336
+ fromJSON(needs.pre-setup.outputs.is-untagged-devel)
337
+ run: >-
338
+ git tag
339
+ -m '${{ needs.pre-setup.outputs.git-tag }}'
340
+ '${{ needs.pre-setup.outputs.git-tag }}'
341
+ --
342
+ ${{ github.event.inputs.release-commitish }}
343
+
322
344
- name : Build dists
323
345
run : >-
324
346
python -m
325
347
tox
326
348
--parallel auto
327
349
--parallel-live
328
350
--skip-missing-interpreters false
351
+ - name : Verify that the artifacts with expected names got created
352
+ run : >-
353
+ ls -1
354
+ 'dist/${{ needs.pre-setup.outputs.sdist-artifact-name }}'
355
+ 'dist/${{ needs.pre-setup.outputs.wheel-artifact-name }}'
329
356
- name : Store the distribution packages
330
357
uses : actions/upload-artifact@v2
331
358
with :
You can’t perform that action at this time.
0 commit comments