This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
60 lines (59 loc) · 1.86 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
51
52
53
54
55
56
57
58
59
60
name: 'action-upload-bintray'
description: 'Upload files to JFrog Bintray'
branding:
icon: 'upload'
color: 'green'
inputs:
file:
description: 'Path to the file that should be uploaded'
required: true
api_url:
description: 'URL of the Bintray API server'
required: false
default: 'https://api.bintray.com'
api_user:
description: 'Username for API usage'
required: true
api_key:
description: 'Key for API usage, it can be obtained from the user profile page'
required: true
gpg_passphrase:
description: 'Passphrase for GPG key, see https://bintray.com/docs/api/#gpg_signing_passphrase. Only required when using a password-protected GPG key.'
required: false
repository_user:
description: 'Repository owner username'
required: true
repository:
description: 'Name of the repository'
required: true
package:
description: 'Name of the package'
required: true
version:
description: 'Version of the package'
required: true
upload_path:
description: 'Upload path at Bintray site. Some repository layouts require this, e.g. for Debian it is typical to use pool/main/m. Does not need leading or trailing slashes.'
required: false
default: '/'
publish:
description: 'Whether to publish the package right away, use "1" to enable'
required: false
default: '0'
calculate_metadata:
description: 'Whether to let Bintray re-calculate metadata of the repository'
default: 'true'
deb_distribution:
description: 'Debian only, required when targeting Debian using the Automatic index layout'
required: false
deb_component:
description: 'Debian only'
required: false
deb_architecture:
description: 'Debian only, required when targeting Debian. Example i386,amd64'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.file }}