From 7520f3bccbe7402b9c4aac022b6d8c49704012a9 Mon Sep 17 00:00:00 2001 From: igorcoding Date: Mon, 2 Aug 2021 18:13:01 +0300 Subject: [PATCH] twine credentials --- .github/workflows/actions.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml index 94c09c1..410f9c0 100644 --- a/.github/workflows/actions.yaml +++ b/.github/workflows/actions.yaml @@ -107,11 +107,15 @@ jobs: with: name: wheels path: wheels - - run: | + - name: Publish dist + run: | python setup.py sdist tree wheels tree dist twine upload dist/* wheels/* + env: + TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - uses: marvinpinto/action-automatic-releases@latest with: repo_token: "${{ secrets.GITHUB_TOKEN }}"