File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1515 description : ' This is the repository-url parameter for pypa/gh-action-pypi-publish'
1616 required : true
1717 type : string
18- environment :
19- description : ' PyPI/TestPyPI name and url are required '
20- type : environment
18+ environment_name :
19+ description : ' Name of environment that specifies PyPI/TestPyPI url '
20+ type : string
2121 required : true
2222 secrets :
2323 GH_TOKEN :
3131 publish :
3232 name : Build
3333 runs-on : ubuntu-latest
34- environment : ${{ inputs.environment }}
34+ environment : ${{ inputs.environment_name }}
3535 env :
3636 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
3737 GITHUB_REPO : ${{ github.repository }}
Original file line number Diff line number Diff line change 1010jobs :
1111 publish :
1212 name : Publish wheel to TestPyPI
13+ environment :
14+ name : testpypi
15+ url : https://test.pypi.org/p/seclab-taskflow-agent2
1316 permissions :
1417 contents : write
1518 id-token : write # For trusted publishing
1821 version : ${{ inputs.version }}
1922 release_notes : ${{ github.head_ref }}
2023 repository_url : https://test.pypi.org/legacy/
21- environment :
22- name : testpypi
23- url : https://test.pypi.org/p/seclab-taskflow-agent2
24+ environment : testpypi
2425 secrets :
2526 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments