File tree Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,36 @@ jobs:
10
10
build :
11
11
name : Build distribution
12
12
runs-on : ubuntu-latest
13
- environment :
14
- name : pypi
15
- url : https://pypi.org/p/armis_sdk
16
- permissions :
17
- id-token : write
18
13
steps :
19
14
- uses : actions/checkout@v4
20
15
21
16
- uses : ./.github/workflows/install_deps
22
17
23
- - name : Build
18
+ - name : Build a binary wheel and a source tarball
24
19
run : poetry build
25
20
21
+ - name : Upload packages
22
+ uses : actions/upload-artifact@v4
23
+ with :
24
+ name : python-package-distributions
25
+ path : dist/
26
+
27
+ publish-to-pypi :
28
+ name : Publish to PyPI
29
+ needs :
30
+ - build
31
+ runs-on : ubuntu-latest
32
+ environment :
33
+ name : pypi
34
+ url : https://pypi.org/p/armis_sdk
35
+ permissions :
36
+ id-token : write
37
+ steps :
38
+ - name : Download packages
39
+ uses : actions/download-artifact@v4
40
+ with :
41
+ name : python-package-distributions
42
+ path : dist/
43
+
26
44
- name : Publish to PyPI
27
45
uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments