From e4a709fd4f19ea4bc9e40f0594b61a8119e65336 Mon Sep 17 00:00:00 2001 From: Fabien MARTY Date: Tue, 30 May 2023 16:36:19 +0200 Subject: [PATCH] fix pypi upload --- .github/workflows/lint.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 770436f..f033f39 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -79,6 +79,10 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v3 + - name: Set up Python 3.7 + uses: actions/setup-python@v4 + with: + python-version: 3.7 - name: Deps install run: | pip install -r dev-requirements.txt @@ -89,5 +93,8 @@ jobs: run: | python setup.py sdist - name: Upload to PyPi + env: + TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} run: | twine upload dist/*