We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c10ec commit 9df1904Copy full SHA for 9df1904
1 file changed
.github/workflows/publish.yaml
@@ -4,6 +4,8 @@ on:
4
push:
5
branches: [ main ]
6
pull_request:
7
+ release:
8
+ types: [ published ]
9
10
concurrency:
11
group: publish-plugin-${{ github.ref_name }}
@@ -64,3 +66,10 @@ jobs:
64
66
env:
65
67
JB_MARKETPLACE_TOKEN: ${{ secrets.JB_MARKETPLACE_TOKEN }}
68
JB_MARKETPLACE_CHANNEL: dev
69
+
70
+ - name: Publish plugin to Marketplace (stable channel)
71
+ if: github.event_name == 'release'
72
+ run: ./gradlew publishPlugin -PenvironmentName=${{ matrix.environmentName }} -PpluginVersion=${{ env.VERSION }}
73
+ env:
74
+ JB_MARKETPLACE_TOKEN: ${{ secrets.JB_MARKETPLACE_TOKEN }}
75
+ JB_MARKETPLACE_CHANNEL: stable
0 commit comments