Skip to content

Commit e003b90

Browse files
committed
CI
1 parent 45f53be commit e003b90

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Publish
22

33
on:
44
workflow_dispatch:
5-
workflow_call:
65

76
jobs:
87
publish:

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ on:
2020
jobs:
2121
publish:
2222
if: ${{ github.event.inputs.publish == 'true' }}
23-
uses: ./.github/workflows/publish.yml
23+
uses: jenly1314/actions/.github/workflows/reusable-publish.yml@v1
24+
with:
25+
java-version-file: '.github/workflows/.java-version'
26+
secrets:
27+
maven-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
28+
maven-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
29+
gpg-secret-key: ${{ secrets.GPG_SECRET_KEY }}
30+
gpg-secret-passphrase: ${{ secrets.GPG_SECRET_PASSPHRASE }}
2431

2532
release:
2633
permissions:

0 commit comments

Comments
 (0)