Skip to content

Commit dea4b99

Browse files
author
Vitaliy
authored
Merge pull request #210 from magento/publish-plugin-configuration
Added publish plugin configuration
2 parents 71a0b37 + b9f727b commit dea4b99

File tree

3 files changed

+47
-13
lines changed

3 files changed

+47
-13
lines changed

.github/workflows/gradlepublish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will build a package using Gradle and then publish it to JetBrains repository when a release is created
2+
3+
name: Publish Plugin
4+
5+
on:
6+
release:
7+
types: [created]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up JDK 1.8
17+
uses: actions/setup-java@v1
18+
with:
19+
java-version: 1.8
20+
- name: Gradle wrapper
21+
run: gradle wrapper
22+
- name: Grant execute permission for gradlew
23+
run: chmod +x gradlew
24+
- name: Run publish plugin
25+
run: ./gradlew publishPlugin -i
26+
env:
27+
MAGENTO_PHPSTORM_intellijPublishToken: ${{ secrets.JET_BRAINS_TOKEN }}

CHANGELOG.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
1.0.0
22
=============
33
* Features:
4-
* "Go to GraphQL schema" line marker in the scope of class/interface and method
5-
* "Go to GraphQL resolver class" line marker in the scope of GraphQL schema type arguments
64
* RequireJS mapping support (reference navigation, completion)
7-
* Plugin class methods generation
8-
* Plugin declaration inspection in the scope of a Plugin Class
95
* MFTF support MVP (reference navigation, completion)
10-
* Fixed support of 2020.* versions of IDE's
6+
* Line markers for navigation from a plugin class to a target class
7+
* Line markers for navigation from a GraphQl resolver to schema and vice versa
8+
* Create a plugin for a class public method
119
* Create a New Magento 2 Module action
12-
* Code Inspection: Duplicated Observer Usage in events XML
13-
* Create a Plugin class for a class public method action
14-
* Code Inspection: Warning regarding Cacheable false attribute in default XML
15-
* Create a Preference for a class action
1610
* Create a Block action
17-
* Line markers for navigation from a plugin class to a target class
18-
* Magento 2 Module Project template on the start up
11+
* Create a View Model action
12+
* Create a new Magento 2 module as a separate project
1913
* Create an observer for an event action
20-
* Plugin - Target line markers
21-
* GraphQL resolver inspection in the scope of a PHP Class
14+
* Create a GraphQL resolver action
15+
* Override class by reference action
16+
* Plugin class methods generation
17+
* Code Inspection: Duplicated plugin Usage in di.xml
18+
* Code Inspection: Plugin declaration in the scope of a Plugin Class
19+
* Code Inspection: Warning regarding Cacheable false attribute in default XML
20+
* Code Inspection: GraphQL resolver in the scope of a PHP Class
21+
* Code Inspection: Duplicated Observer Usage in events XML
22+
* Moved plugin configuration from `Settings > Preferences > Languages & Frameworks > PHP > Magento` to
23+
`Settings > Preferences > Languages & Frameworks > PHP > Frameworks > Magento`
24+
* Fixed support of 2020.* versions of IDE's
2225

2326
0.3.0
2427
=============

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,7 @@ sourceSets {
4242
resources.srcDir 'testData'
4343
}
4444
}
45+
46+
publishPlugin {
47+
token = System.getenv("MAGENTO_PHPSTORM_intellijPublishToken")
48+
}

0 commit comments

Comments
 (0)