Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 12, 2022. It is now read-only.

Commit 7d6d450

Browse files
Amend github workflows to align more with plugin template
1 parent f70d230 commit 7d6d450

File tree

5 files changed

+55
-16
lines changed

5 files changed

+55
-16
lines changed

‎.github/workflows/build.yml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,22 @@ jobs:
3636
name: Test
3737
needs: gradleValidation
3838
runs-on: ubuntu-latest
39+
continue-on-error: ${{ matrix.experimental }}
40+
strategy:
41+
matrix:
42+
experimental: [false]
43+
include:
44+
- platform: '2019年1月3日'
45+
phpPlugin: '191.7141.52'
46+
bladePlugin: '191.7141.5'
47+
experimental: true
48+
- platform: '2018年3月5日'
49+
phpPlugin: '183.4886.46'
50+
bladePlugin: '183.3795.24'
51+
env:
52+
ORG_GRADLE_PROJECT_platformVersion: ${{ matrix.platform }}
53+
ORG_GRADLE_PROJECT_phpPluginVersion: ${{ matrix.phpPlugin }}
54+
ORG_GRADLE_PROJECT_bladePluginVersion: ${{ matrix.bladePlugin }}
3955
steps:
4056

4157
# Setup Java 1.8 environment for the next steps
@@ -76,6 +92,19 @@ jobs:
7692
name: Build
7793
needs: test
7894
runs-on: ubuntu-latest
95+
strategy:
96+
matrix:
97+
include:
98+
- platform: '2019年1月3日'
99+
phpPlugin: '191.7141.52'
100+
bladePlugin: '191.7141.5'
101+
- platform: '2018年3月5日'
102+
phpPlugin: '183.4886.46'
103+
bladePlugin: '183.3795.24'
104+
env:
105+
ORG_GRADLE_PROJECT_platformVersion: ${{ matrix.platform }}
106+
ORG_GRADLE_PROJECT_phpPluginVersion: ${{ matrix.phpPlugin }}
107+
ORG_GRADLE_PROJECT_bladePluginVersion: ${{ matrix.bladePlugin }}
79108
outputs:
80109
name: ${{ steps.properties.outputs.name }}
81110
version: ${{ steps.properties.outputs.version }}

‎.travis.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ cache:
1515
- $HOME/.gradle/wrapper/
1616

1717
before_install:
18-
- "export ORG_GRADLE_PROJECT_ideaVersion=${IDEA_VERSION}"
18+
- "export ORG_GRADLE_PROJECT_platformVersion=${PLATFORM_VERSION}"
1919
- "export ORG_GRADLE_PROJECT_phpPluginVersion=${PHP_PLUGIN_VERSION}"
2020
- "export ORG_GRADLE_PROJECT_bladePluginVersion=${BLADE_PLUGIN_VERSION}"
2121

2222
after_failure:
2323
- cat build/idea-sandbox/system/log/idea.log
2424

2525
env:
26-
- IDEA_VERSION="IU-2019年1月3日" PHP_PLUGIN_VERSION="191.7141.52" BLADE_PLUGIN_VERSION="191.7141.5"
27-
- IDEA_VERSION="IU-2018年3月5日" PHP_PLUGIN_VERSION="183.4886.46" BLADE_PLUGIN_VERSION="183.3795.24"
26+
- PLATFORM_VERSION="IU-2019年1月3日" PHP_PLUGIN_VERSION="191.7141.52" BLADE_PLUGIN_VERSION="191.7141.5"
27+
- PLATFORM_VERSION="IU-2018年3月5日" PHP_PLUGIN_VERSION="183.4886.46" BLADE_PLUGIN_VERSION="183.3795.24"
2828

2929
script:
3030
- "./gradlew check verifyPlugin buildPlugin"
3131

3232
matrix:
3333
allow_failures:
34-
- env: IDEA_VERSION="IU-2019年1月3日" PHP_PLUGIN_VERSION="191.7141.52" BLADE_PLUGIN_VERSION="191.7141.5"
34+
- env: IDEA_VERSION="IU-2019年1月3日" PHP_PLUGIN_VERSION="191.7141.52" BLADE_PLUGIN_VERSION="191.7141.5"

‎MAINTENANCE.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The checklist for a new release should be the following:
2424
* prepare the changelog:
2525
* execute `./prepare-release.sh` to write the changelog to disk
2626
* manually copy the relevant parts to `CHANGELOG.md`
27+
* change the `pluginVersion` property to the new version
2728
* commit the changed files (preferrable with a meaningful commit message
2829
`Prepare release 0.16.xxx`)
2930
* tag a release (`git tag 0.x.xxx`)

‎build.gradle‎

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
22

33
plugins {
4-
id 'com.palantir.git-version' version "0.11.0"
54
id "org.jetbrains.intellij" version "0.6.5"
65
}
76

@@ -19,7 +18,8 @@ sourceCompatibility = 1.8
1918
targetCompatibility = 1.8
2019

2120
intellij {
22-
version ideaVersion
21+
version platformVersion
22+
type platformType
2323
updateSinceUntilBuild false
2424
plugins = [
2525
"com.jetbrains.php:${phpPluginVersion}",
@@ -28,11 +28,11 @@ intellij {
2828
'java-i18n',
2929
'properties'
3030
]
31-
pluginName 'Laravel Plugin'
31+
pluginName pluginName_
3232
}
3333

3434
patchPluginXml {
35-
sinceBuild '173'
35+
sinceBuild '191'
3636
changeNotes = htmlFixer('src/main/resources/META-INF/change-notes.html')
3737
}
3838

@@ -42,13 +42,7 @@ publishPlugin {
4242
}
4343

4444
group 'de.espend.idea.laravel'
45-
46-
def details = versionDetails()
47-
if (details.isCleanTag) {
48-
version = "${details.lastTag}"
49-
} else {
50-
version = "${details.lastTag}.${details.gitHash}-SNAPSHOT"
51-
}
45+
version pluginVersion
5246

5347
wrapper {
5448
gradleVersion '6.8.2'

‎gradle.properties‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1-
ideaVersion = IU-2019年1月3日
1+
# IntelliJ Platform Artifacts Repositories
2+
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
3+
4+
pluginGroup = de.espend.idea.laravel
5+
pluginName_ = Laravel Plugin
6+
pluginVersion = 0.16.0
7+
pluginSinceBuild = 191
8+
pluginUntilBuild = 191.*
9+
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
10+
# See https://jb.gg/intellij-platform-builds-list for available build versions
11+
# pluginVerifierIdeVersions = 2020年2月4日, 2020年3月2日, 2021.1
12+
13+
platformType = IU
14+
platformVersion = 2019年1月3日
15+
platformDownloadSources = true
16+
217
phpPluginVersion = 191.7141.52
318
bladePluginVersion = 191.7141.5

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /