-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
51 lines (51 loc) · 1.58 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
name: 'Sourcetoad - Tizen Build'
description: 'Build and package a Tizen app'
author: Sourcetoad
branding:
color: 'blue'
icon: 'package'
inputs:
project-dir:
description: 'Absolute path to your Tizen project.'
required: true
author-cert:
description: 'Author certificate for signing. Base64-encoded.'
required: false
author-key:
description: 'Your Tizen author key. A PKCS #12 private key, encoded as base64.'
required: true
author-password:
description: 'Password for author-key.'
required: true
distributor-cert:
description: 'Distributor certificate used for signing. Base64-encoded.'
required: false
distributor-key:
description: 'Distributor key used for signing. Base64-encoded.'
required: false
distributor-password:
description: 'Password for distributor-key'
required: false
privilege:
description: 'public or partner - Which distributor cert/key is used if not provided.'
required: false
default: 'public'
outputs:
package-artifact:
description: 'The absolute path to the build artifact.'
value: ${{ steps.build.outputs.package-artifact }}
runs:
using: 'composite'
steps:
- id: build
shell: bash
run: |
${{ github.action_path }}/build.sh \
"${{ inputs.project-dir }}" \
"${{ inputs.author-cert }}" \
"${{ inputs.author-key }}" \
"${{ inputs.author-password }}" \
"${{ inputs.distributor-cert }}" \
"${{ inputs.distributor-key }}" \
"${{ inputs.distributor-password }}" \
"${{ inputs.privilege }}"