File tree Expand file tree Collapse file tree 3 files changed +88
-79
lines changed
Expand file tree Collapse file tree 3 files changed +88
-79
lines changed Original file line number Diff line number Diff line change 11{
22 "template" : " ." ,
3- "commit" : " 2921bf15f3cf22e8e5c9ae04a5f7e8f52daffbc6 " ,
3+ "commit" : " 45a5e60428dab6cb6f6382505d8591a050f1a7ba " ,
44 "context" : {
55 "cookiecutter" : {
66 "project_name" : " Cookiecutter template for new Python projects" ,
1313 "author_name" : " Stephen Kent" ,
1414 "author_email" : " smkent@smkent.net" ,
1515 "github_user" : " smkent" ,
16- "_template" : " ."
16+ "_template" : " ." ,
17+ "_commit" : " 45a5e60428dab6cb6f6382505d8591a050f1a7ba"
1718 }
1819 },
1920 "directory" : null ,
Original file line number Diff line number Diff line change 1111 push :
1212 tags :
1313 - ' *'
14- workflow_dispatch :
1514
1615jobs :
1716 Publish :
1817 name : Publish package for ${{ github.ref_name }}
1918
2019 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2120 runs-on : ubuntu-latest
21+ environment :
22+ name : pypi
23+ url : https://pypi.org/p/Cookiecutter template for new Python projects
24+ permissions :
25+ id-token : write
2226
2327 steps :
2428 - name : 💾 Check out repository
@@ -52,15 +56,12 @@ jobs:
5256 uses : pypa/gh-action-pypi-publish@release/v1
5357 if : ${{ env.ENABLE_TEST_PYPI_PUBLISH == 'true' }}
5458 with :
55- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
5659 repository-url : https://test.pypi.org/legacy/
5760 skip-existing : true
5861
5962 - name : ☢️ Publish to PyPI
6063 if : ${{ env.ENABLE_PYPI_PUBLISH == 'true' }}
6164 uses : pypa/gh-action-pypi-publish@release/v1
62- with :
63- password : ${{ secrets.PYPI_API_TOKEN }}
6465
6566concurrency :
6667 group : ${{ github.workflow }}-${{ github.ref }}
You can’t perform that action at this time.
0 commit comments