-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yaml
134 lines (128 loc) · 5.84 KB
/
action.yaml
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
122
123
124
125
126
127
128
129
130
131
132
133
134
name: Publish Nix flakes to FlakeHub
branding:
icon: "box"
color: "purple"
description: "Find, install, and publish Nix Flakes with FlakeHub."
inputs:
visibility:
description: "`public`, `unlisted`, or `private`. Private flakes are in private beta, contact [email protected] to sign up."
required: true
name:
description: The name of your published flake. In the format of OrgName/RepoName. OrgName must match your organization's GitHub root name or the publish will fail.
required: false
default: null
repository:
description: The actual GitHub repository containing your flake. In the format of OrgName/RepoName.
required: true
default: ${{ github.repository }}
mirror:
description: If the repository is mirrored via DeterminateSystems' mirror functionality. This is only usable by DeterminateSystems.
required: false
default: false
directory:
description: The path of your flake relative to the root of the repository. Useful for subflakes.
required: false
default: null
git-root:
description: The root directory of your Git repository.
required: false
default: .
tag:
description: The Git tag to use, for non-rolling releases. This must be the character `v` followed by a SemVer version, e.g. `v0.1.1`.
required: false
default: null
rolling-minor:
description: "Specify the SemVer minor version of your rolling releases. All releases will follow the versioning scheme '0.[rolling-minor].[commit count]+rev-[git sha]'"
required: false
default: null
rolling:
description: |
For untagged releases, use a rolling versioning scheme.
When this is enabled, the default versioning scheme is 0.1.[commit count]+rev-[git sha]. To customize the SemVer minor version, set the `rolling-minor` option.
required: false
default: false
host:
description: "The FlakeHub server to use."
required: false
default: "https://api.flakehub.com"
log-directives:
description: A comma-separated list of [tracing directives](https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives). `-`s are replaced with `_`s (such as `nix_installer=trace`).
required: false
default: "flakehub_push=info"
logger:
description: The logger to use. Options are `pretty`, `json`, `full` and `compact`.
required: false
default: "full"
github-token:
description: A GitHub token for making authenticated GitHub API requests.
default: ${{ github.token }}
extra-tags:
description: "DEPRECATED: Please use `extra-labels` instead."
required: false
default: ""
extra-labels:
description: |
`flakehub-push` automatically uses the GitHub repo's topics as labels. This `extra-labels` parameter enables you to add extra labels beyond that as a comma-separated string. Only alphanumeric characters and hyphens are allowed in labels and the maximum length of labels is 50 characters. You can specify a maximum of 20 extra labels, and have a maximum of 25 labels, including those that we retrieve from GitHub. Any labels after the 25th will be ignored.
required: false
default: ""
spdx-expression:
description: A valid SPDX license expression. This will be used in place of what GitHub claims your repository's `spdxIdentifier` is.
required: false
default: ""
error-on-conflict:
description: Whether to error if a release for the same version has already been uploaded.
required: false
default: false
include-output-paths:
description: Whether to register the output paths of each flake output with FlakeHub.
required: false
default: false
my-flake-is-too-big:
description: Please read the source code of flakehub-push before using this.
required: false
default: false
# Used to construct the binary download URL
source-binary:
description: Run a version of the `flakehub-push` binary from somewhere already on disk. Conflicts with all `source-*` options.
required: false
source-branch:
description: The branch of `flakehub-push` to use. Conflicts with all other `source-*` options.
required: false
default: main
source-pr:
description: The pull request (PR) of `flakehub-push` to use. Conflicts with all other `source-*` options.
required: false
source-revision:
description: The revision of `flakehub-push` to use. Conflicts with all other `source-*` options.
required: false
source-tag:
description: The tag of `flakehub-push` to use. Conflicts with all other `source-*` options.
required: false
source-url:
description: A URL pointing to a `flakehub-push` binary. Overrides all other `source-*` options.
required: false
_internal-strict-mode:
description: Whether to fail when any errors are thrown. Used only to test the Action; do not set this in your own workflows.
default: false
# DEPRECATED options (use the `source-*` equivalents above)
flakehub-push-binary:
description: Run a version of the `flakehub-push` binary from somewhere already on disk. Conflicts with all `flakehub-push-*` options.
required: false
flakehub-push-branch:
description: The branch of `flakehub-push` to use. Conflicts with all other `flakehub-push-*` options.
required: false
flakehub-push-pr:
description: The pull request (PR) of `flakehub-push` to use. Conflicts with all `flakehub-push-*` options.
required: false
flakehub-push-revision:
description: The revision of `flakehub-push` to use. Conflicts with all other `flakehub-push-*` options.
required: false
flakehub-push-tag:
description: The tag of `flakehub-push` to use. Conflicts with all other `flakehub-push-*` options.
required: false
flakehub-push-url:
description: A URL pointing to a `flakehub-push` binary. Overrides all other `flakehub-push-*` options.
required: false
runs:
using: "node20"
main: "dist/index.js"