generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 83
/
action.yml
121 lines (120 loc) · 4.2 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: Install Qt
description: Install Qt on your Github Actions workflows with just one simple action
author: jurplel
branding:
icon: package
color: green
inputs:
dir:
description: Directory to install Qt
version:
description: Version of Qt to install
default: "5.15.2"
host:
description: Host platform
target:
description: Target platform for build
default: desktop
arch:
description: Architecture for Windows/Android
install-deps:
description: Whether or not to install Qt dependencies on Linux
default: true
modules:
description: Additional Qt modules to install
archives:
description: Specify which Qt archive to install
cache:
description: Whether or not to cache Qt automatically
default: false
cache-key-prefix:
description: Cache key prefix for automatic cache
default: install-qt-action
setup-python:
description: Whether or not to automatically run setup-python to find a valid python version.
default: true
tools:
description: >
Qt tools to download
--
specify comma-separated argument lists which are themselves separated by spaces:
<tool_name>,<tool_version>,<tool_arch>
add-tools-to-path:
default: true
description: When true, prepends directories of tools to PATH environment variable.
set-env:
default: true
description: Whether or not to set environment variables after running aqtinstall
no-qt-binaries:
description: Turns off installation of Qt. Useful for installing tools, source, documentation, or examples.
default: false
tools-only:
description: Synonym for `no-qt-binaries`, used for backwards compatibility.
default: false
aqtsource:
description: Location to source aqtinstall from in case of issues
aqtversion:
description: Version of aqtinstall to use in case of issues
default: ==3.1.*
py7zrversion:
description: Version of py7zr to use in case of issues
default: ==0.20.*
extra:
description: Any extra arguments to append to the back
source:
default: false
description: Whether or not to install Qt source code.
src-archives:
description: Space-separated list of .7z source archives to install. Used to reduce download/image sizes.
documentation:
default: false
description: Whether or not to install Qt documentation.
doc-archives:
description: Space-separated list of .7z docs archives to install. Used to reduce download/image sizes.
doc-modules:
description: Space-separated list of additional documentation modules to install.
examples:
default: false
description: Whether or not to install Qt example code.
example-archives:
description: Space-separated list of .7z example archives to install. Used to reduce download/image sizes.
example-modules:
description: Space-separated list of additional example modules to install.
runs:
using: "composite"
steps:
- name: Setup Python
if: ${{ inputs.setup-python == 'true' }}
uses: actions/setup-python@v5
with:
python-version: '3.6.x - 3.11.x'
- name: Setup and run aqtinstall
uses: ./action
with:
dir: ${{ inputs.dir }}
version: ${{ inputs.version }}
host: ${{ inputs.host }}
target: ${{ inputs.target }}
arch: ${{ inputs.arch }}
install-deps: ${{ inputs.install-deps }}
modules: ${{ inputs.modules }}
archives: ${{ inputs.archives }}
cache: ${{ inputs.cache }}
cache-key-prefix: ${{ inputs.cache-key-prefix }}
tools: ${{ inputs.tools }}
add-tools-to-path: ${{ inputs.add-tools-to-path }}
set-env: ${{ inputs.set-env }}
no-qt-binaries: ${{ inputs.no-qt-binaries }}
tools-only: ${{ inputs.tools-only }}
aqtsource: ${{ inputs.aqtsource }}
aqtversion: ${{ inputs.aqtversion }}
py7zrversion: ${{ inputs.py7zrversion }}
source: ${{ inputs.source }}
src-archives: ${{ inputs.src-archives }}
documentation: ${{ inputs.documentation }}
doc-archives: ${{ inputs.doc-archives }}
doc-modules: ${{ inputs.doc-modules }}
examples: ${{ inputs.examples }}
example-archives: ${{ inputs.example-archives }}
example-modules: ${{ inputs.example-modules }}
extra: ${{ inputs.extra }}