2021-04-06 21:32:01 +01:00
|
|
|
name: Publish Artifacts
|
|
|
|
on:
|
2021-06-27 20:52:56 +01:00
|
|
|
release:
|
|
|
|
types: [created]
|
|
|
|
|
2021-04-06 21:32:01 +01:00
|
|
|
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 }}
|
2021-06-27 20:52:56 +01:00
|
|
|
package-infra-name: "twine"
|
2021-04-06 21:32:01 +01:00
|
|
|
pypi-user: __token__
|
|
|
|
pypi-access-token: ${{ secrets.PYPI_ACCESS_TOKEN }}
|
2021-06-27 20:52:56 +01:00
|
|
|
action: "package-publish"
|
|
|
|
pypi-verify-metadata: "true"
|