mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Publish using gh-action-pypi-publish@release/v1
This commit is contained in:
parent
ead2882f01
commit
c302357dc3
1 changed files with 5 additions and 7 deletions
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
|
|
@ -54,14 +54,12 @@ jobs:
|
||||||
${{ runner.os }}-publish-pip-
|
${{ runner.os }}-publish-pip-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install setuptools wheel twine
|
pip install setuptools wheel build
|
||||||
- name: Publish
|
- name: Build
|
||||||
env:
|
|
||||||
TWINE_USERNAME: __token__
|
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
python setup.py sdist bdist_wheel
|
python -m build
|
||||||
twine upload dist/*
|
- name: Publish
|
||||||
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
|
||||||
deploy_static_docs:
|
deploy_static_docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue