Publish Pypi #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish Pypi | |
| on: [workflow_dispatch] | |
| jobs: | |
| build: | |
| environment: integ | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Run publish pypi | |
| env: | |
| TWINE_USERNAME: ${{ secrets.CI_USERNAME_PYPI }} | |
| TWINE_PASSWORD: ${{ secrets.CI_PASSWORD_PYPI }} | |
| run: | | |
| python -m pip install --upgrade pip | |
| make publish_pypi |