File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change @@ -42,3 +42,7 @@ sourceSets {
4242 resources. srcDir ' testData'
4343 }
4444}
45+
46+ publishPlugin {
47+ token = System . getenv(" MAGENTO_PHPSTORM_intellijPublishToken" )
48+ }
You can’t perform that action at this time.
0 commit comments