File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish to PyPI
22
33on :
4- workflow_dispatch :
5- # Disabled until if/when it becomes open source.
6- # release:
7- # types: [published]
4+ release :
5+ types : [published]
86
97permissions :
108 contents : read
@@ -21,23 +19,23 @@ jobs:
2119 id-token : write
2220
2321 steps :
24- - name : Checkout
25- uses : actions/checkout@v4
26- with :
27- fetch-depth : 0
28-
29- - name : Set up Python 3.11
30- uses : actions/setup-python@v5
31- with :
32- python-version : 3.11
33-
34- - name : Install build dependencies
35- run : |
36- pip install -U pip
37- pip install build
38-
39- - name : Build distributions
40- run : python -m build
41-
42- - name : Publish package distributions to PyPI
43- uses : pypa/gh-action-pypi-publish@release/v1
22+ - name : Checkout
23+ uses : actions/checkout@v4
24+ with :
25+ fetch-depth : 0
26+
27+ - name : Set up Python 3.12
28+ uses : actions/setup-python@v5
29+ with :
30+ python-version : 3.12
31+
32+ - name : Install build dependencies
33+ run : |
34+ pip install -U pip
35+ pip install build
36+
37+ - name : Build distributions
38+ run : python -m build
39+
40+ - name : Publish package distributions to PyPI
41+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments