Newer
Older
thu-learn-downloader-optimized / .github / actions / publish / action.yaml
@Qin Li Qin Li on 12 Nov 2022 382 bytes feat: refactor
name: Publish to PyPI
description: Publish Python Package to PyPI

inputs:
  pypi_token:
    description: "PyPI Token"
    required: true

runs:
  using: "composite"
  steps:
    - if: ${{ inputs.pypi_token != '' }}
      name: Build and Publish to PyPI
      uses: JRubics/[email protected]
      with:
        pypi_token: ${{ inputs.pypi_token }}
      continue-on-error: true