25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
709 B

  1. name: deploy-cli
  2. on:
  3. push:
  4. paths:
  5. - "cli/lesspass/version.py"
  6. jobs:
  7. test-cli:
  8. runs-on: ubuntu-18.04
  9. steps:
  10. - uses: actions/checkout@v2
  11. - uses: actions/setup-python@v1
  12. with:
  13. python-version: "3.6"
  14. - name: test cli
  15. run: |
  16. cd cli
  17. ./test
  18. deploy-cli:
  19. runs-on: ubuntu-18.04
  20. needs: test-cli
  21. steps:
  22. - uses: actions/checkout@v2
  23. - uses: actions/setup-python@v1
  24. with:
  25. python-version: "3.6"
  26. - name: deploy cli
  27. run: |
  28. cd cli
  29. ./deploy
  30. env:
  31. TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
  32. TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}