File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 1212 matrix :
1313 python-version : ['3.9', '3.10', '3.11']
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 - name : Set up Python ${{ matrix.python-version }}
17- uses : actions/setup-python@v2
17+ uses : actions/setup-python@v5
1818 with :
1919 python-version : ${{ matrix.python-version }}
2020 - name : Install dependencies
@@ -24,17 +24,19 @@ jobs:
2424 publish :
2525 runs-on : ubuntu-latest
2626 needs : build
27+ environment :
28+ name : pypi
29+ url : https://pypi.org/p/flake8-class-attributes-order
30+ permissions :
31+ id-token : write
2732 steps :
28- - uses : actions/checkout@v2
33+ - uses : actions/checkout@v4
2934 - name : Set up Python ${{ matrix.python-version }}
30- uses : actions/setup-python@v2
35+ uses : actions/setup-python@v5
3136 - name : Install dependencies
32- run : pip install -r requirements_dev.txt setuptools wheel twine
37+ run : pip install -r requirements_dev.txt
3338 - name : Build and publish
34- env :
35- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
36- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
3739 run : |
3840 python setup.py sdist bdist_wheel
39- twine upload dist/*
40-
41+ - name : Publish package distributions to PyPI
42+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments