5.3.1 #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |