Skip to content

5.3.1

5.3.1 #41

Workflow file for this run

# This workflow will build a package using Gradle and then publish it to JetBrains repository when a release is created
name: Publish Plugin
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: gradle
- name: Gradle wrapper
run: gradle wrapper
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run publish plugin
run: ./gradlew publishPlugin -i
env:
MAGENTO_PHPSTORM_intellijPublishToken: ${{ secrets.JET_BRAINS_TOKEN }}
MAGENTO_PHPSTORM_isAlpha: false