-
Notifications
You must be signed in to change notification settings - Fork 22
/
action.yml
50 lines (45 loc) · 1.56 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
name: 'Snapcraft Build'
description: 'Build a Snapcraft project'
author: 'James Henstridge'
branding:
icon: 'package'
color: 'orange'
inputs:
path:
description: 'The location of the Snapcraft project. Defaults to the base of the repository'
default: '.'
build-info:
description: >
Whether to include build information in the resulting snap.
This will add snap/manifest.yaml and snap/snapcraft.yaml files
to the snap. The Snap Store can use this information to detect
snaps with security vulnerabilities introduced through
stage-packages.
Proprietary applications may want to disable this due to
the information leakage.
default: 'true'
snapcraft-channel:
description: >
The Snapcraft channel to use
By default, the action will use the stable version of Snapcraft
to build the project. This parameter can be used to instead
select a different channel such as beta, candidate, or edge.
default: 'stable'
snapcraft-args:
description: >
Additional arguments to pass to Snapcraft
Some experimental Snapcraft features are disabled by default and
must be turned on via a `--enable-experimental-*` command line
argument. This parameter can be used to turn on such features.
default: ''
ua-token:
description: >
UA token to attach in build environment.
Snapcraft will detach the token when no longer required.
default: ''
outputs:
snap:
description: 'The file name of the resulting snap.'
runs:
using: 'node20'
main: 'dist/index.js'