-
Notifications
You must be signed in to change notification settings - Fork 21
/
action.yml
50 lines (49 loc) · 1.4 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
41
42
43
44
45
46
47
48
49
50
# action.yaml
name: "PyInstaller Linux"
description: "Customisable GitHub Action to package your python code with PyInstaller for Linux"
branding:
icon: "box"
color: "blue"
inputs:
path:
description: "Directory containing source code & .spec file (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: ""
tkinter:
description: "Specify whether to install Tkinter or not"
required: False
default: "false"
requirements:
description: 'Specify a file path for requirements.txt file'
required: False
default: "requirements.txt"
gooey:
description: "Specify whether to install Gooey or not"
required: False
default: "true"
outputs:
output:
description: "The output of PyInstaller"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.path }} #$1
- ${{ inputs.pypi_url }} #$2
- ${{ inputs.pypi_index_url }} #$3
- ${{ inputs.spec }} #$4
- ${{ inputs.tkinter }} #$5
- ${{ inputs.requirements }} #$6
- ${{ inputs.gooey }} #$7