diff --git a/.github/workflows/intellij_build.yml b/.github/workflows/intellij_build.yml index 58fe3c7b..1f40d104 100644 --- a/.github/workflows/intellij_build.yml +++ b/.github/workflows/intellij_build.yml @@ -15,8 +15,12 @@ ## JBIJPPTPL name: Build IntelliJ Platform Plugin -on: - [push, pull_request, workflow_dispatch] +on: + push: + branches: + - main + - 'intellij**' + workflow_dispatch: jobs: @@ -28,11 +32,11 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2 + uses: actions/checkout@v3.2.0 # Validate wrapper - name: Gradle Wrapper Validation - uses: gradle/wrapper-validation-action@v1 + uses: gradle/wrapper-validation-action@v1.0.5 # Run verifyPlugin and test Gradle tasks test: @@ -43,17 +47,18 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2 + uses: actions/checkout@v3.2.0 # Setup Java 11 environment for the next steps - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3.9.0 with: java-version: 11 + distribution: 'zulu' # Cache Gradle dependencies - name: Setup Cache - uses: actions/cache@v1 + uses: actions/cache@v3.2.2 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -67,10 +72,6 @@ jobs: - name: Verify Plugin run: ./gradlew IntelliJ:verifyPlugin - # Run test Gradle task - - name: Run Tests - run: ./gradlew IntelliJ:test - # Build plugin with buildPlugin Gradle task and provide the artifact for the next workflow jobs # Requires test job to be passed build: @@ -86,17 +87,18 @@ jobs: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2 + uses: actions/checkout@v3.2.0 # Setup Java 11 environment for the next steps - name: Setup Java - uses: actions/setup-java@v1 + uses: actions/setup-java@v3.9.0 with: java-version: 11 + distribution: 'zulu' # Cache Gradle dependencies - name: Setup Cache - uses: actions/cache@v1 + uses: actions/cache@v3.2.2 with: path: ~/.gradle/caches key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} @@ -162,14 +164,13 @@ jobs: # If accepted and published, release workflow would be triggered releaseDraft: name: Release Draft - if: github.ref == 'refs/heads/main' needs: [build, verify] runs-on: ubuntu-latest steps: # Check out current repository - name: Fetch Sources - uses: actions/checkout@v2 + uses: actions/checkout@v3.2.0 # Remove old release drafts by using the curl request for the available releases with draft flag - name: Remove Old Release Drafts @@ -185,7 +186,7 @@ jobs: # Create new release draft - which is not publicly visible and requires manual acceptance - name: Create Release Draft id: createDraft - uses: actions/create-release@v1 + uses: actions/create-release@v1.1.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/Plugins/IntelliJ/CHANGELOG.md b/Plugins/IntelliJ/CHANGELOG.md index fd28f3ee..f17a4c8b 100644 --- a/Plugins/IntelliJ/CHANGELOG.md +++ b/Plugins/IntelliJ/CHANGELOG.md @@ -2,6 +2,14 @@ ## [Unreleased] +## [2.0.0-alpha02] + +- Public availability on IntelliJ Marketplace + +## [2.0.0-alpha01] + +- Add support for Android Studio Chipmunk and Dolphin + ## [1.2.0-alpha02] - Support both new (dev.testify) and legacy (com.shopify) annotations.