-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
55 lines (51 loc) · 1.45 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
name: Gradle Metadata action
description: Gradle Metadata Action for Docker Buildx Bake.
author: Docker Bakery
branding:
color: white
icon: git-branch
inputs:
context:
description: The context directory
required: false
default: ""
version:
description: The version of the Gradle project
required: false
default: ""
outputs:
name:
description: The gradle project name
value: ${{ steps.meta.outputs.name}}
description:
description: The gradle project description
value: ${{ steps.meta.outputs.description}}
group:
description: The gradle project group
value: ${{ steps.meta.outputs.group}}
profile:
description: The gradle project profile
value: ${{ steps.meta.outputs.profile}}
version:
description: The gradle project version
value: ${{ steps.meta.outputs.version}}
target-compatibility:
description: The gradle project target compatibility
value: ${{ steps.meta.outputs.target-compatibility}}
source-compatibility:
description: The gradle project target compatibility
value: ${{ steps.meta.outputs.source-compatibility}}
bake-file:
description: Bake definiton file
value: ${{ steps.meta.outputs.bake-file }}
runs:
using: composite
steps:
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
shell: bash
- id: meta
run: |
gradle-metadata-action.sh \
"${{ inputs.context }}" \
"${{ inputs.version }}"
shell: bash