-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
57 lines (47 loc) · 1.64 KB
/
action.yml
File metadata and controls
57 lines (47 loc) · 1.64 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
---
name: Python Semantic Release - Publish
description: Publish Artifacts & Assets to GitHub Releases
branding:
icon: upload
color: orange
inputs:
config_file:
description: |
Path to a custom semantic-release configuration file. By default, an empty
string will look for a pyproject.toml file in the current directory. This is the same
as passing the `-c` or `--config` parameter to semantic-release.
default: ""
required: false
directory:
description: |
Sub-directory to change into before running semantic-release publish
default: "."
required: false
github_token:
description: |
GitHub token used to upload artifacts. Requires permission to create and
edit releases.
required: true
no_operation_mode:
description: |
If set to true, the github action will pass the `--noop` parameter to
semantic-release. This will cause semantic-release to run in "no operation"
mode. See the documentation for more information on this parameter.
default: "false"
required: false
tag:
description: |
The tag corresponding to the GitHub Release that the artifacts should
be published to. Defaults to 'latest', in which case the latest tag
will be identified by Python Semantic Release and used to publish to.
required: false
verbosity:
description: |
Set the verbosity level of the output as the number of -v's to pass to
semantic-release. 0 is no extra output, 1 is info level output, 2 is
debug output, and 3 is silly debug level of output.
default: "1"
required: false
runs:
using: docker
image: src/Dockerfile