Skip to content

Commit 839bde2

Browse files
committed
chore(maintenance): improve CI release process
1 parent 42a7ad1 commit 839bde2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ jobs:
2727
const version = context.payload.pull_request.head.ref.split('-')[1]
2828
core.exportVariable('VERSION', version)
2929
30+
- name: Build artifacts
31+
run: ./gradlew jar javadocJar sourcesJar
32+
3033
- name: Publish to MavenCentral
3134
run: |
3235
sudo bash -c "echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE'"
33-
./gradlew publishReleasePublicationToSonatypeRepository --no-daemon --max-workers 1 closeAndReleaseSonatypeStagingRepository
36+
./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 closeAndReleaseSonatypeStagingRepository
3437
env:
3538
STREAM_KEY: ${{ secrets.STREAM_KEY }}
3639
STREAM_SECRET: ${{ secrets.STREAM_SECRET }}

0 commit comments

Comments
 (0)