pyinstaller-action-windows/action.yml

36 lines
901 B
YAML
Raw Permalink Normal View History

2020-06-02 21:32:30 +08:00
# 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:
2020-06-25 00:57:19 +08:00
description: 'Directory containing source code (optional requirements.txt).'
2020-06-02 21:32:30 +08:00
required: True
2020-06-02 22:22:44 +08:00
default: src
2020-06-03 07:58:23 +08:00
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
2020-06-25 00:57:19 +08:00
spec:
description: 'Specify a file path for .spec file'
required: False
2020-06-25 20:12:28 +08:00
default: ""
2020-06-02 21:32:30 +08:00
outputs:
output:
description: 'The output of PyInstaller'
runs:
using: 'docker'
image: 'Dockerfile'
args:
2020-06-03 08:04:29 +08:00
- ${{ inputs.path }}
- ${{ inputs.pypi_url }}
2020-06-25 00:57:19 +08:00
- ${{ inputs.pypi_index_url }}
- ${{ inputs.spec }}