Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Sep 23, 2020
1 parent 61dde24 commit 49f44c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
env:
GITHUB_TOKEN: '${{secrets.GITHUB_TOKEN}}'
- name: Set up Python
if: ${{ create_release.outputs.created == 'true' }}
if: ${{ steps.create_release.outputs.created == 'true' }}
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
if: ${{ create_release.outputs.created == 'true' }}
if: ${{ steps.create_release.outputs.created == 'true' }}
run: |
python -m pip install --upgrade pip
pip install setuptools twine
- name: Build and publish
if: ${{ create_release.outputs.created == 'true' }}
if: ${{ steps.create_release.outputs.created == 'true' }}
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand Down

0 comments on commit 49f44c7

Please sign in to comment.