-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
36 lines (36 loc) · 1.08 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
name: 'Go Publishr'
description: 'Github Action that allows you to push commits, publish artifacts, generate a changelog & create a release'
inputs:
version_metadata_path:
description: 'Path to file containing Version string'
required: true
default: 'pkg/version/version.go'
author_name:
description: 'Commit Author'
required: true
default: 'packagrio-bot'
author_email:
description: 'Commit Author Email'
required: true
default: 'packagr-io[bot]@users.noreply.github.com'
upload_assets:
description: 'Assets to upload'
required: false
cwd:
description: 'Working Directory'
required: false
default: ''
outputs:
version: # id of output
description: 'Version that was written to files'
runs:
using: 'docker'
image: 'Dockerfile'
env:
PACKAGR_VERSION_METADATA_PATH: ${{ inputs.version_metadata_path }}
PACKAGR_ENGINE_GIT_AUTHOR_NAME: ${{ inputs.author_name }}
PACKAGR_ENGINE_GIT_AUTHOR_EMAIL: ${{ inputs.author_email }}
PACKAGR_SCM_RELEASE_ASSETS: ${{ inputs.upload_assets }}
branding:
icon: 'package'
color: 'red'