File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Pythonseer build and publish via tag
2
2
3
3
on :
4
- release :
5
- types : [ published ]
4
+ push :
5
+ tags :
6
+ - " v[0-9]+.[0-9]+.[0-9]+"
6
7
7
8
jobs :
8
9
build-n-publish :
9
10
runs-on : ubuntu-latest
10
11
permissions :
11
12
contents : write
12
13
steps :
13
- - name : " 📦 Publish distribution to PyPI "
14
- uses : code-specialist/pypi-poetry-publish@v1
14
+ - name : " ✔️ Checkout "
15
+ uses : actions/checkout@v3
15
16
with :
16
- ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
- PUBLISH_REGISTRY_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
18
- BRANCH : main
17
+ fetch-depth : 0
19
18
- name : " ✏️ Generate release changelog"
20
19
uses : BobAnkh/auto-generate-changelog@v1.2.5
21
20
with :
24
23
with :
25
24
allowUpdates : true
26
25
generateReleaseNotes : true
26
+ - name : " 🛠 Install and publish with poetry"
27
+ uses : JRubics/poetry-publish@v1
28
+ with :
29
+ pypi_token : ${{ secrets.PYPI_API_TOKEN }}
27
30
- name : " 🤖 Announce on lemmy.dbzer0.com"
28
31
run : |
29
32
python -m pip install pythorhead
You can’t perform that action at this time.
0 commit comments