mirror of https://github.com/encode/starlette.git
24 lines
416 B
YAML
24 lines
416 B
YAML
---
|
|
name: Publish
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
publish:
|
|
name: "Publish release"
|
|
runs-on: "ubuntu-latest"
|
|
|
|
steps:
|
|
- uses: "actions/checkout@v2"
|
|
- uses: "actions/setup-python@v1"
|
|
with:
|
|
python-version: 3.7
|
|
- name: "Publish"
|
|
run: "scripts/publish"
|
|
env:
|
|
TWINE_USERNAME: __token__
|
|
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
|