зеркало из
https://github.com/viginum-datalab/twscrape.git
synced 2025-10-29 13:06:13 +02:00
update ci
Этот коммит содержится в:
родитель
ae6eabe271
Коммит
cabef7f826
22
.github/workflows/publish.yml
поставляемый
Обычный файл
22
.github/workflows/publish.yml
поставляемый
Обычный файл
@ -0,0 +1,22 @@
|
||||
name: publish to pypi
|
||||
|
||||
on:
|
||||
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 }}
|
||||
4
.github/workflows/ci.yml → .github/workflows/test.yml
поставляемый
4
.github/workflows/ci.yml → .github/workflows/test.yml
поставляемый
@ -1,4 +1,4 @@
|
||||
name: ci
|
||||
name: test
|
||||
|
||||
on: [push]
|
||||
|
||||
@ -6,7 +6,7 @@ env:
|
||||
PIP_ROOT_USER_ACTION: ignore
|
||||
|
||||
jobs:
|
||||
build:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
@ -1,3 +1,5 @@
|
||||
# twscrape
|
||||
|
||||
Twitter GraphQL and Search API implementation with [SNScrape](https://github.com/JustAnotherArchivist/snscrape) data models.
|
||||
|
||||
## Install
|
||||
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user