Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Former-commit-id: ed6902d
  • Loading branch information
skim2257 committed Dec 13, 2021
1 parent a3aa08b commit 809014e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,15 @@ jobs:
pytest tests
- name: Build app (Windows)
if: success() && startsWith(matrix.os,'Windows')
env:
USERNAME: ${{ secrets.pypi_username }}
KEY: ${{ secrets.pypi_pw }}
run: |
python -m twine upload --skip-existing -u $env:USERNAME -p $env:KEY dist/*
- name: Build app (Ubuntu / macOS)
if: success() && startsWith(matrix.os, 'Windows') == false
env:
USERNAME: ${{ secrets.pypi_username }}
KEY: ${{ secrets.pypi_pw }}
run: |
python -m twine upload --skip-existing -u $USERNAME -p $KEY dist/*

0 comments on commit 809014e

Please sign in to comment.