Skip to content

Commit 2dbc7d0

Browse files
Update build.yml
1 parent 95d5cc2 commit 2dbc7d0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
workflow_call:
55
inputs:
66
action:
7-
required: false
7+
required: true
8+
type: string
9+
github_tag:
10+
required: true
811
type: string
9-
# github_tag:
10-
# required: true
11-
# type: string
1212
secrets:
1313
MAVEN_SIGNING_KEY_BASE64:
1414
required: true
@@ -36,6 +36,5 @@ jobs:
3636
MAVEN_SIGNING_PASSPHRASE: ${{ secrets.MAVEN_SIGNING_PASSPHRASE }}
3737
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3838
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
39-
# run: GITHUB_TAG=${{ inputs.github_tag }} ./gradlew ${{ inputs.action }}
40-
run: echo "Demo run success"
39+
run: GITHUB_TAG=${{ inputs.github_tag }} ./gradlew ${{ inputs.action }}
4140

0 commit comments

Comments
 (0)