File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 15
15
strategy :
16
16
max-parallel : 1
17
17
steps :
18
+
19
+ - name : Display tag name
20
+ run : echo "Tag name is ${{ github.event.release.name }}"
21
+
22
+ - name : Is TEST RELEASE
23
+ if : ${{ startsWith('test-',github.event.release.name) }}
24
+ run : echo "Is test release ${{ startsWith('test-',github.event.release.name) }}"
25
+
18
26
- name : Checkout
19
27
uses : actions/checkout@v2
28
+
20
29
- name : Retrieve wheel artifacts for release
21
30
uses : dawidd6/action-download-artifact@v2
22
31
with :
25
34
workflow : build.yml
26
35
path : ./dist
27
36
github_token : ${{ secrets.GITHUB_TOKEN }}
37
+
28
38
- name : Retrieve SDIST artifacts for release
29
39
uses : dawidd6/action-download-artifact@v2
30
40
with :
40
50
working-directory : ./dist
41
51
42
52
- name : Release code as new release on Pypi
43
- if : ${{ startsWith('v', github.event.release.name) }}
53
+ if : ${{ startsWith(github.event.release.name, 'v' ) }}
44
54
uses : pypa/gh-action-pypi-publish@release/v1
45
55
with :
46
56
user : __token__
You can’t perform that action at this time.
0 commit comments