File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,14 @@ jobs:
3434 needs : test
3535 runs-on : ubuntu-latest
3636 if : github.ref == 'refs/heads/master' # only on master
37+ environment :
38+ name : pypi-deployment
3739 steps :
3840 - uses : actions/checkout@v4
3941 - name : Set up Python
4042 uses : actions/setup-python@v5
4143 with :
4244 python-version : 3.12 # Specify the Python version you want to use for deployment
43- - name : check PYPI USERNAME exists
44- env :
45- super_secret : ${{ secrets.PYPI_USERNAME }}
46- if : ${{ env.super_secret == '' }}
47- run : echo "echo the secret \"PYPI_USERNAME\" has not been made; echo please go to \"settings \> secrets \> actions\" to create it"
4845 - name : Set Twine Environment Variables
4946 run : |
5047 echo "TWINE_USERNAME=${{ secrets.PYPI_USERNAME }}" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments