Commit a367a43 1 parent 345acf2 commit a367a43 Copy full SHA for a367a43
File tree 4 files changed +54
-2
lines changed
src/main/resources/META-INF
4 files changed +54
-2
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Gradle
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3
+
4
+ name : Java CI for releases
5
+
6
+ on :
7
+ release :
8
+ types :
9
+ - published
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ubuntu-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ env :
19
+ # see https://www.jetbrains.com/idea/download/previous.html
20
+ # and https://www.jetbrains.com/intellij-repository/snapshots/
21
+
22
+ - IDEA_VERSION : IU-2022.2 # Oldest supported version
23
+ KOTLIN_VERSION : 1.6.21
24
+ SINCE_VERSION : 222
25
+ UNTIL_VERSION : 230.*
26
+ VERSION_SUFFIX : " -2022"
27
+
28
+ - IDEA_VERSION : IU-2023.3.3
29
+ KOTLIN_VERSION : 1.9.10
30
+ SINCE_VERSION : 230
31
+ VERSION_SUFFIX : " "
32
+
33
+ steps :
34
+ - uses : actions/checkout@v3
35
+ - name : Set up JDK 17
36
+ uses : actions/setup-java@v3
37
+ with :
38
+ java-version : 17
39
+ distribution : temurin
40
+
41
+ - name : Build with Gradle
42
+ run : |
43
+ ./gradlew -PideaVersion=${IDEA_VERSION} -PsinceBuildVersion=${SINCE_VERSION} -PuntilBuildVersion=${UNTIL_VERSION} -PpluginVersion=${GITHUB_REF_NAME}${VERSION_SUFFIX} check buildPlugin
44
+ env : ${{ matrix.env }}
45
+
46
+ - name : Publish to the marketplace
47
+ run : |
48
+ ./gradlew -PideaVersion=${IDEA_VERSION} -PsinceBuildVersion=${SINCE_VERSION} -PuntilBuildVersion=${UNTIL_VERSION} -PpluginVersion=${GITHUB_REF_NAME}${VERSION_SUFFIX} -DpublishToken="${{ secrets.PUBLISH_TOKEN }}" -DpublishChannels=default publishPlugin
49
+ env : ${{ matrix.env }}
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ val intellilangName: String by project
7
7
val downloadIdeaSources: String by project
8
8
val publishToken: String by project
9
9
val publishChannels: String by project
10
+ val pluginVersion: String by project
11
+
12
+ version= pluginVersion
10
13
11
14
buildscript {
12
15
repositories {
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ kotlinVersion=1.9.10
6
6
kotlin.incremental =true
7
7
kotlin.stdlib.default.dependency =false
8
8
9
- buildNumber = SNAPSHOT
9
+ pluginVersion =next- SNAPSHOT
10
10
downloadIdeaSources =true
11
11
publishToken =token
12
12
publishChannels =Nightly
Original file line number Diff line number Diff line change 1
1
<idea-plugin >
2
2
<id >com.github.bjansen.intellij.pebble</id >
3
3
<name >Pebble</name >
4
- <version >0.10-SNAPSHOT </version >
4
+ <version >will be replaced by gradle </version >
5
5
<vendor url =" https://github.com/bjansen" >Bastien Jansen</vendor >
6
6
7
7
<description ><![CDATA[
You can’t perform that action at this time.
0 commit comments