File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' *'
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+ environment :
10
+ name : pypi
11
+ url : https://pypi.org/project/tornado-openapi3/
12
+ permissions :
13
+ id-token : write
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - name : Install Python
17
+ uses : actions/setup-python@v5
18
+ with :
19
+ python-version : ' 3.13'
20
+ - name : Install Poetry
21
+ run : |
22
+ curl -sSL https://install.python-poetry.org | python - -y
23
+ - name : Update PATH
24
+ run : echo "$HOME/.local/bin" >> $GITHUB_PATH
25
+ - name : Update Poetry configuration
26
+ run : poetry config virtualenvs.create false
27
+ - name : Install dependencies
28
+ run : poetry install --sync --no-interaction
29
+ - name : Build package
30
+ run : poetry build
31
+ - name : Publish to PyPI
32
+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments