remove pypi token #1124
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Python client checks, package build and deployment | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - 'client-*' | |
| branches: | |
| - develop | |
| - master | |
| paths: | |
| - client/** | |
| - .github/workflows/python-client.yml | |
| pull_request: | |
| paths: | |
| - client/** | |
| - .github/workflows/python-client.yml | |
| jobs: | |
| lint: | |
| name: Call Ledger Python linters | |
| uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_python_checks.yml@v1 | |
| with: | |
| run_linter: flake8 | |
| run_type_check: true | |
| src_directory: src | |
| setup_directory: client | |
| req_directory: client | |
| package_and_deploy: | |
| name: Build and deploy the Ethereum client Python package | |
| needs: [lint] | |
| uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_pypi_deployment.yml@v1 | |
| with: | |
| package_name: ledger_app_clients.ethereum | |
| publish: ${{ startsWith(github.ref, 'refs/tags/') }} | |
| package_directory: ./client/ | |
| release: false |