forked from flatpak/flatpak-github-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
107 lines (107 loc) · 3.08 KB
/
action.yml
File metadata and controls
107 lines (107 loc) · 3.08 KB
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
name: "Flatpak Builder"
description: "Build and create a bundle from a Flatpak manifest"
author: "Bilal Elmoussaoui"
branding:
icon: "package"
color: "blue"
inputs:
manifest-path:
description: "The relative path of the manifest file."
required: true
stop-at-module:
description: >
Stop at the specified module, ignoring it and all the following ones.
Using this option enforces `build-bundle` to false.
required: false
bundle:
description: "The bundle name, by default it's app.flatpak"
required: false
default: "app.flatpak"
build-bundle:
description: "Whether to build a bundle or not."
default: "true"
required: false
repository-url:
description: >
The repository used to fetch the runtime when the user downloads the
Flatpak bundle.
required: false
default: "https://flathub.org/repo/flathub.flatpakrepo"
repository-name:
description: >
The repository name to install the runtime from at build/install time.
Note that the repository name corresponds to the `repository-url` mentioned above.
required: false
default: "flathub"
run-tests:
description: >
Toggles the run-tests config option on the defined flatpak-module.
Possible values: true, enabled, yes, y. Or something else to disable them.
default: "false"
required: false
cache:
description: >
Toggles caching the flatpak-builder directory.
Possible values: true, enabled, yes, y. Or something else to disable it.
default: "true"
required: false
restore-cache:
description: >
Toggles restoring the cache.
Possible values: true, enabled, yes, y. Or something else to disable it.
default: "true"
required: false
cache-key:
description: >
Defines the cache-key to use.
Defaults to flatpak-builder-${arch}-${sha256(manifestPath)}
required: false
keep-build-dirs:
description: >
Keep build directories after the build finishes, passing `--keep-build-dirs` flag
to flatpak-builder.
Possible values: true, enabled, yes, y. Defaults to false.
required: false
default: "false"
branch:
description: The flatpak branch.
default: "master"
required: false
arch:
description: >
The CPU architecture to build for.
default: "x86_64"
required: false
mirror-screenshots-url:
description: >
The URL to mirror screenshots.
required: false
gpg-sign:
description: >
The key to sign the package.
required: false
build-dir:
description: >
The directory to build the application in.
required: false
repo-dir:
description: >
The name of the flatpak repository.
required: false
state-dir:
description: >
The directory to store the build state/cache in.
required: false
verbose:
description: >
"Enable verbosity"
required: false
default: "false"
upload-artifact:
description: >
"Whether to upload the resulting bundle or not as an artifact"
required: false
default: "true"
runs:
using: "node24"
main: "dist/index.js"