File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 31
31
- name : Build a wheel and a source tarball
32
32
run : |
33
33
python3 -m hatch build
34
+
35
+ - name : Upload built distributions
36
+ uses : actions/upload-artifact@v4
37
+ with :
38
+ name : package
39
+ path : dist/*
40
+
Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ name: Publish to PyPI
2
2
on :
3
3
workflow_dispatch :
4
4
5
- jobs :
6
- build-package :
7
- uses : ./.github/workflows/build-package.yml
8
-
5
+ jobs :
9
6
check-tag :
10
7
runs-on : ubuntu-latest
11
8
steps :
@@ -16,17 +13,10 @@ jobs:
16
13
if : steps.check_ref.outputs.match != 'true'
17
14
run : exit 1
18
15
19
- upload-artifact :
20
- needs : build-package
21
- runs-on : ubuntu-latest
22
- steps :
23
- - uses : actions/checkout@v4
24
- - name : Store the distribution packages
25
- uses : actions/upload-artifact@v4
26
- with :
27
- name : package
28
- path : |
29
- dist/*
16
+ build-package :
17
+ needs :
18
+ - check-tag
19
+ uses : ./.github/workflows/build-package.yml
30
20
31
21
github-release :
32
22
name : Create GitHub release
You can’t perform that action at this time.
0 commit comments