Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skim2257 authored Dec 13, 2021
1 parent 6511aea commit ed6902d
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 ed6902d

Please sign in to comment.