File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,15 @@ jobs:
4040 uses : actions/setup-python@v5
4141 with :
4242 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.MY_SECRET }}
46+ if : ${{ secrets.PYPI_USERNAME == '' }}
47+ run : ' echo "echo the secret \"PYPI_USERNAME\" has not been made; echo please go to \"settings \> secrets \> actions\" to create it"
4348 - name: Set Twine Environment Variables
4449 run: |
4550 echo "TWINE_USERNAME=${{ secrets.PYPI_USERNAME }}" >> $GITHUB_ENV
4651 echo "TWINE_PASSWORD=${{ secrets.PYPI_PASSWORD }}" >> $GITHUB_ENV
47- echo "TWINE_PASSWORD=${{ secrets.PYPI_USERNAME }}"
4852 - name: Build and Upload to PyPI
4953 run: |
5054 pip install -U setuptools twine wheel
You can’t perform that action at this time.
0 commit comments