File tree 1 file changed +4
-14
lines changed
1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 1
- name : dist-release
1
+ name : Release
2
2
3
3
on :
4
- pull_request :
5
- types : [opened, synchronize]
6
- paths-ignore :
7
- - ' docs/**' # Ignore changes in the docs folder for pull requests
8
- - ' .github' # Ignore changes in the .github folder for pull requests
9
4
push :
10
- branches : ['master']
11
- paths-ignore :
12
- - ' docs/**' # Ignore changes in the docs folder for pushes
13
- - ' .github' # Ignore changes in the .github folder for pushes
14
5
tags :
15
- - ' v*' # only release a versioned tag, such as v.X.Y.Z
6
+ - ' v*'
16
7
17
8
jobs :
18
- release :
9
+ publish :
19
10
runs-on : ubuntu-latest
20
11
environment : release
21
12
permissions :
22
13
# Used to authenticate to PyPI via OIDC and sign the release's artifacts with sigstore-python.
23
14
id-token : write
24
15
# Used to attach signing artifacts to the published release.
25
16
contents : write
26
-
27
17
steps :
28
18
- uses : actions/checkout@v4
29
19
with :
46
36
47
37
- name : Publish a Python distribution to PyPI
48
38
uses : pypa/gh-action-pypi-publish@release/v1
49
- if : startsWith(github.ref, 'refs/tags/v')
50
39
with :
51
40
packages-dir : python/dist/
41
+
You can’t perform that action at this time.
0 commit comments