pyinstaller-action-windows/action.yml

41 lines
1.0 KiB
YAML

# action.yaml
name: 'PyInstaller Windows'
description: 'Customisable GitHub Action to package your python code with PyInstaller for Windows'
branding:
icon: 'box'
color: 'blue'
inputs:
path:
description: 'Directory containing source code (optional requirements.txt).'
required: True
default: src
pypi_url:
description: 'Specify a custom URL for PYPI'
required: False
default: https://pypi.python.org/
pypi_index_url:
description: 'Specify a custom URL for PYPI Index'
required: False
default: https://pypi.python.org/simple
spec:
description: 'Specify a file path for .spec file'
required: False
default: ""
requirements:
description: 'Specify a file path for requirements.txt file'
required: False
default: "requirements.txt"
outputs:
output:
description: 'The output of PyInstaller'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.path }}
- ${{ inputs.pypi_url }}
- ${{ inputs.pypi_index_url }}
- ${{ inputs.spec }}
- ${{ inputs.requirements }}