зеркало из
				https://github.com/viginum-datalab/twscrape.git
				synced 2025-10-29 05:04:22 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			24 строки
		
	
	
		
			514 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			24 строки
		
	
	
		
			514 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: publish to pypi
 | |
| 
 | |
| on:
 | |
|   workflow_dispatch:
 | |
|   release:
 | |
|     types: [created]
 | |
|   
 | |
| jobs:
 | |
|   publish:
 | |
|     runs-on: ubuntu-latest
 | |
|     steps:
 | |
|       - uses: actions/checkout@v3
 | |
|       - uses: actions/setup-python@v4
 | |
|         with:
 | |
|           python-version: "3.x"
 | |
|       
 | |
|       - run: python -m pip install build
 | |
|       - run: python -m build --sdist --wheel --outdir dist/ .
 | |
| 
 | |
|       - name: Publish to PyPI
 | |
|         uses: pypa/gh-action-pypi-publish@release/v1
 | |
|         with:
 | |
|           password: ${{ secrets.PYPI_API_TOKEN }}
 | 
