-
Notifications
You must be signed in to change notification settings - Fork 71
/
action.yml
40 lines (39 loc) · 1.04 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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 }}