File tree Expand file tree Collapse file tree 6 files changed +53
-124
lines changed
Expand file tree Collapse file tree 6 files changed +53
-124
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 with Gradle
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ branches : [ master ]
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v2
18+
19+ - name : Set up JDK 11
20+ uses : actions/setup-java@v2
21+ with :
22+ java-version : ' 11'
23+ distribution : ' adopt'
24+
25+ # Cache Gradle dependencies
26+ - name : Setup Gradle Dependencies Cache
27+ uses : actions/cache@v2.1.6
28+ with :
29+ path : ~/.gradle/caches
30+ key : ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', 'gradle.properties') }}
31+
32+ # Cache Gradle Wrapper
33+ - name : Setup Gradle Wrapper Cache
34+ uses : actions/cache@v2.1.6
35+ with :
36+ path : ~/.gradle/wrapper
37+ key : ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
38+
39+ - name : setting env vars
40+ run : echo "Main version ${ORG_GRADLE_PROJECT_ideaVersion}"
41+ env :
42+ ORG_GRADLE_PROJECT_ideaVersion : " IU-2021.1"
43+ ORG_GRADLE_PROJECT_phpPluginVersion : " 211.6693.120"
44+
45+ - name : Grant execute permission for gradlew
46+ run : chmod +x gradlew
47+
48+ - name : Build with Gradle
49+ run : export PHPSTORM_ENV=skip && ./gradlew check verifyPlugin buildPlugin
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# IntelliJ IDEA / PhpStorm PHPUnit Enhancement
22
3- [ ![ Build Status] ( https://travis-ci.org /Haehnchen/idea-php-phpunit-plugin. svg?branch=master )] ( https://travis-ci.org /Haehnchen/idea-php-phpunit-plugin )
3+ [ ![ Build Status] ( https://github.com /Haehnchen/idea-php-phpunit-plugin/actions/workflows/gradle.yml/badge. svg?branch=master )] ( https://github.com /Haehnchen/idea-php-phpunit-plugin/actions/workflows/gradle.yml )
44[ ![ Version] ( http://phpstorm.espend.de/badge/9674/version )] ( https://plugins.jetbrains.com/plugin/9674 )
55[ ![ Downloads] ( http://phpstorm.espend.de/badge/9674/downloads )] ( https://plugins.jetbrains.com/plugin/9674 )
66[ ![ Downloads last month] ( http://phpstorm.espend.de/badge/9674/last-month )] ( https://plugins.jetbrains.com/plugin/9674 )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
22
33plugins {
44 id " org.jetbrains.intellij" version " 0.4.11"
5- id ' com.palantir.git-version' version " 0.11.0 "
5+ id " com.palantir.git-version" version " 0.12.3 "
66}
77
88def htmlFixer = { htmlFile -> file(htmlFile). text. replace(' <html>' , ' ' ). replace(' </html>' , ' ' ) }
Original file line number Diff line number Diff line change 1- ideaVersion = IU-2020.2
2- phpPluginVersion = 202.6397.115
1+ ideaVersion = IU-2021.1
2+ phpPluginVersion = 211.6693.120
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments