Skip to content

Commit 83afe3e

Browse files
committed
ci: update publishing workflow
notably remove 'user' field for pypa/gh-action-pypi-publish because authentification is done with a token
1 parent e1f1d82 commit 83afe3e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/publish-tags.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
name: Publish wheels
1+
name: Publish to PyPI
22

33
on:
44
push:
5-
branches-ignore:
6-
- "*"
75
tags:
86
- "*"
97

@@ -13,10 +11,10 @@ jobs:
1311
steps:
1412
- uses: actions/checkout@v4
1513

16-
- name: Set up Python 3.10
14+
- name: Set up Python
1715
uses: actions/setup-python@v4
1816
with:
19-
python-version: "3.10"
17+
python-version: "3.12"
2018

2119
- name: Install Poetry
2220
run: |
@@ -41,7 +39,7 @@ jobs:
4139
- name: Set up python
4240
uses: actions/setup-python@v2
4341
with:
44-
python-version: "3.10"
42+
python-version: "3.12"
4543

4644
- name: Download distributions
4745
uses: actions/download-artifact@v4
@@ -51,5 +49,4 @@ jobs:
5149

5250
- uses: pypa/gh-action-pypi-publish@v1.4.2
5351
with:
54-
user: mthh
5552
password: ${{ secrets.PYPI_PASS }}

0 commit comments

Comments
 (0)