Skip to content

Commit 2fa87d7

Browse files
committed
Update build configuration
1 parent aa9f174 commit 2fa87d7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/PullRequest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- ideaVersion: 2022.2.1
20-
ideaType: PS
2119
- ideaVersion: 2022.2.3
2220
ideaType: PY
2321
- ideaVersion: 2023.3.1
22+
ideaType: PS
23+
- ideaVersion: 2024.2.1
2424
ideaType: IC
2525

2626
steps:

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,17 @@ idea {
5959
var final EAP_VERSION = 'LATEST-EAP-SNAPSHOT'
6060
var final EAP_BUILD = '242'
6161

62-
var final DEFAULT_VERSION = '2024.1.5' //'LATEST-EAP-SNAPSHOT' //
62+
var final LATEST_SUPPORTED_VERSION = '2024.1.5' //EAP_VERSION
6363

6464
// IDE version - https://www.jetbrains.com/intellij-repository/releases
65-
var idea_version = System.getenv().getOrDefault('IDEA_VERSION', DEFAULT_VERSION)
65+
var idea_version = System.getenv().getOrDefault('IDEA_VERSION', LATEST_SUPPORTED_VERSION)
6666
var build_version = idea_version == EAP_VERSION ? EAP_BUILD : idea_version.substring(2, 4) + idea_version.charAt(5) // extract e.g. '221' from '2022.1.1'
6767

6868
version '3.4.0-' + build_version
6969

7070
apply plugin: 'org.jetbrains.intellij'
7171
intellij {
72-
version = DEFAULT_VERSION
72+
version = idea_version > LATEST_SUPPORTED_VERSION || idea_version == EAP_VERSION ? LATEST_SUPPORTED_VERSION : idea_version
7373
type = System.getenv().getOrDefault('IDEA_TYPE', 'IC')
7474
pluginName = 'CSVEditor'
7575
updateSinceUntilBuild = true

0 commit comments

Comments
 (0)