30572c972d
* Changelog and version * Rearrange API docs for easier navigation * Version 21.6 docs * Change release workflow * Disable Windows tests
29 lines
688 B
YAML
29 lines
688 B
YAML
name: Publish Artifacts
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
publishPythonPackage:
|
|
name: Publishing Sanic Release Artifacts
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
python-version: ["3.8"]
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Publish Python Package
|
|
uses: harshanarayana/custom-actions@main
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
package-infra-name: "twine"
|
|
pypi-user: __token__
|
|
pypi-access-token: ${{ secrets.PYPI_ACCESS_TOKEN }}
|
|
action: "package-publish"
|
|
pypi-verify-metadata: "true"
|