File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed
Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 1- name : Parsek Mail Plugin Release
1+ name : Parsek Plugin Release
22
33on :
44 push :
@@ -78,10 +78,16 @@ jobs:
7878 with :
7979 node-version : " lts/*"
8080
81- - name : Install deps for semantic-release
81+ - name : Download build artifacts
82+ uses : actions/download-artifact@v4
83+ with :
84+ name : build-artifacts
85+ path : build/libs/
86+
87+ - name : Verify downloaded artifacts
8288 run : |
83- npm ci
84- # Eğer package.json yoksa bu adımı kaldırabilirsiniz
89+ echo "Contents of build/libs:"
90+ ls -la build/libs || true
8591
8692 - name : Create GitHub Release with semantic-release
8793 env :
@@ -118,6 +124,14 @@ jobs:
118124 - name : Verify downloaded artifacts
119125 run : ls -R build/libs
120126
127+ - name : Publish to Maven Central with JReleaser
128+ run : |
129+ ./gradlew -Pversion=${{ needs.get-next-version.outputs.new_tag_version }} publish
130+ env :
131+ GPG_PRIVATE_KEY : ${{ secrets.GPG_PRIVATE_KEY }}
132+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
133+
134+
121135 - name : Deploy to Maven Central with JReleaser
122136 id : jreleaser
123137 run : |
You can’t perform that action at this time.
0 commit comments