File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,18 +10,36 @@ jobs:
1010 build :
1111 name : Build distribution
1212 runs-on : ubuntu-latest
13- environment :
14- name : pypi
15- url : https://pypi.org/p/armis_sdk
16- permissions :
17- id-token : write
1813 steps :
1914 - uses : actions/checkout@v4
2015
2116 - uses : ./.github/workflows/install_deps
2217
23- - name : Build
18+ - name : Build a binary wheel and a source tarball
2419 run : poetry build
2520
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+
2644 - name : Publish to PyPI
2745 uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments