File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 5
5
build :
6
6
runs-on : ubuntu-latest
7
7
if : github.event.ref_type == 'tag'
8
- permissions :
9
- id-token : write # required for trusted publishing
10
- environment : publish
11
8
steps :
12
9
- name : Checkout
13
10
uses : actions/checkout@v4
22
19
python-version : ' ${{ steps.python-versions.outputs.min }}'
23
20
pre-install : poetry
24
21
22
+ - uses : actions/upload-artifact@v4
23
+ with :
24
+ path : ./dist
25
+
26
+
27
+ publish :
28
+ needs : build
29
+ runs-on : ubuntu-latest
30
+ if : github.event.ref_type == 'tag'
31
+ permissions :
32
+ contents : none
33
+ id-token : write # required for trusted publishing
34
+ environment : publish
35
+ steps :
36
+ - uses : actions/download-artifact@v4
37
+
25
38
- name : Publish to PyPI
26
39
uses : pypa/gh-action-pypi-publish@release/v1
27
40
with :
41
+ packages-dir : artifact/
28
42
print-hash : true
You can’t perform that action at this time.
0 commit comments