Skip to content

PyPi Publish

PyPi Publish #15

Workflow file for this run

name: PyPi Publish
on:
workflow_dispatch:
inputs:
environment:
description: 'Environment to run tests against'
type: environment
required: true
jobs:
test-matrix:
uses: softstream-link/workflows/.github/workflows/setuptools-pytest-matrix-py3.yml@v1
with:
fail-fast: false
twine-publish-pypi:
needs: test-matrix
uses: softstream-link/workflows/.github/workflows/setuptools-twine-pypi-publish.yml@v1
with:
environment: ${{ inputs.environment }} #'test' # needs both environment and secrets to work https://github.com/actions/runner/issues/1490
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} # needs both environment and secrets to work https://github.com/actions/runner/issues/1490