forked from OctopusDeploy/create-release-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
44 lines (41 loc) · 2.57 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
name: 'Create Release in Octopus Deploy'
description: 'GitHub Action to create a release in Octopus Deploy'
author: 'Octopus Deploy'
branding:
color: 'blue'
icon: 'package'
inputs:
project:
description: 'The name of the project associated with this release.'
required: true
release_number:
description: 'The number for the new release. If omitted, Octopus Deploy will generate a release number.'
channel:
description: 'The name of the channel to use for the new release. If omitted, the best channel will be selected based on channel version rules.'
package_version:
description: 'The default version number of all packages to use for this release.'
packages:
description: 'A multi-line list of version numbers to use for a package in the release. Format: StepName:Version or PackageID:Version or StepName:PackageName:Version. StepName, PackageID, and PackageName can be replaced with an asterisk ("*"). An asterisk will be assumed for StepName, PackageID, or PackageName if they are omitted.'
git_ref:
description: 'Git branch reference to the specific resources of a version controlled Octopus Project. This is required for version controlled projects.'
git_commit:
description: 'Git commit pointing to the specific resources of a version controlled Octopus Project. If empty, it will use the HEAD from the corresponding gitRef parameter.'
ignore_existing:
default: false
description: 'Ignore existing releases if present in Octopus Deploy with the matching version number.'
release_notes:
description: 'The release notes text associated with the new release (Markdown is supported).'
release_notes_file:
description: 'A file containing the release notes associated with the new release (Markdown is supported). Use either `release_notes` or this input, supplying both is not supported.'
server:
description: 'The instance URL hosting Octopus Deploy (i.e. "https://octopus.example.com/"). The instance URL is required, but you may also use the OCTOPUS_URL environment variable.'
api_key:
description: 'The API key used to access Octopus Deploy. An API key is required, but you may also use the OCTOPUS_API_KEY environment variable. It is strongly recommended that this value retrieved from a GitHub secret.'
space:
description: 'The name of a space within which this command will be executed. The space name is required, but you may also use the OCTOPUS_SPACE environment variable.'
outputs:
release_number:
description: 'The release number assigned to the Release in Octopus Deploy'
runs:
using: 'node20'
main: 'dist/index.js'