Skip to content

Commit b2355ec

Browse files
committed
Fix publish CI jobs
1 parent 319eea9 commit b2355ec

File tree

3 files changed

+31
-51
lines changed

3 files changed

+31
-51
lines changed

.github/workflows/publish-release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
env:
9+
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
10+
11+
jobs:
12+
publish-intellij-plugin:
13+
name: Publish release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
17+
18+
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 #v4.2.1
19+
with:
20+
distribution: temurin
21+
java-version: 23
22+
23+
- name: Publish release to JetBrains Marketplace
24+
run: ./gradlew --no-build-cache :plugin:publishPlugin
25+
env:
26+
PUBLISH_TOKEN: ${{ secrets.IJ_PLUGIN_PUBLISH_TOKEN }}
27+
CERTIFICATE_CHAIN: ${{ secrets.IJ_PLUGIN_CERTIFICATE_CHAIN }}
28+
PRIVATE_KEY: ${{ secrets.IJ_PLUGIN_PRIVATE_KEY }}
29+
PRIVATE_KEY_PASSWORD: ${{ secrets.IJ_PLUGIN_PRIVATE_KEY_PASSWORD }}

.github/workflows/publish-snapshot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
schedule:
55
- cron: '0 0 * * 0'
66
workflow_dispatch:
7+
78
env:
89
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
910

@@ -19,7 +20,7 @@ jobs:
1920
distribution: temurin
2021
java-version: 23
2122

22-
- name: Publish snapshot
23+
- name: Publish snapshot to JetBrains Marketplace
2324
run: ./gradlew --no-build-cache :plugin:publishPlugin
2425
env:
2526
IJ_PLUGIN_SNAPSHOT: true

.github/workflows/tag.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)