Skip to content

Commit af98e57

Browse files
committed
Impl: add publish step in the release workflow
1 parent ea83e1d commit af98e57

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,14 @@ jobs:
5151
run: |
5252
./gradlew patchChangelog --release-note="$CHANGELOG"
5353
54-
# Build the zip distribution
55-
- name: Build Zip Plugin
56-
run: ./gradlew buildPlugin
54+
# Publish the plugin to the Marketplace
55+
- name: Publish Plugin
56+
env:
57+
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
58+
CERTIFICATE_CHAIN: ${{ secrets.CERTIFICATE_CHAIN }}
59+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
60+
PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }}
61+
run: ./gradlew publishPlugin
5762

5863
# Upload artifact as a release asset
5964
- name: Upload Release Asset

0 commit comments

Comments
 (0)