File tree Expand file tree Collapse file tree 3 files changed +26
-16
lines changed
Expand file tree Collapse file tree 3 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 99 build-n-publish :
1010 name : Build and publish Python 🐍 distributions 📦 to pypi
1111 runs-on : ubuntu-latest
12+ environment :
13+ name : pypi
14+ url : https://pypi.org/p/djangocms-picture
15+ permissions :
16+ id-token : write
1217 steps :
13- - uses : actions/checkout@master
14- - name : Set up Python 3.9
15- uses : actions/setup-python@v1
18+ - uses : actions/checkout@v3
19+ - name : Set up Python 3.10
20+ uses : actions/setup-python@v4
1621 with :
17- python-version : 3.9
22+ python-version : ' 3.11 '
1823
1924 - name : Install pypa/build
2025 run : >-
3338
3439 - name : Publish distribution 📦 to PyPI
3540 if : startsWith(github.ref, 'refs/tags')
36- uses : pypa/gh-action-pypi-publish@master
37- with :
38- user : __token__
39- password : ${{ secrets.PYPI_API_TOKEN }}
41+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 99 build-n-publish :
1010 name : Build and publish Python 🐍 distributions 📦 to TestPyPI
1111 runs-on : ubuntu-latest
12+ environment :
13+ name : pypi
14+ url : https://test.pypi.org/p/djangocms-picture
15+ permissions :
16+ id-token : write
1217 steps :
13- - uses : actions/checkout@master
14- - name : Set up Python 3.9
15- uses : actions/setup-python@v1
18+ - uses : actions/checkout@v3
19+ - name : Set up Python 3.10
20+ uses : actions/setup-python@v4
1621 with :
17- python-version : 3.9
22+ python-version : ' 3.11 '
1823
1924 - name : Install pypa/build
2025 run : >-
3237 .
3338
3439 - name : Publish distribution 📦 to Test PyPI
35- uses : pypa/gh-action-pypi-publish@master
40+ uses : pypa/gh-action-pypi-publish@release/v1
3641 with :
37- user : __token__
38- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
39- repository_url : https://test.pypi.org/legacy/
42+ repository-url : https://test.pypi.org/legacy/
4043 skip_existing : true
Original file line number Diff line number Diff line change 22Changelog
33=========
44
5+ 4.1.1 (2023-10-19)
6+ ==================
7+
8+ * Updated release workflows
9+
5104.1.0
611=====
712
You can’t perform that action at this time.
0 commit comments