intellij-platform-gradle-plugin icon indicating copy to clipboard operation
intellij-platform-gradle-plugin copied to clipboard

Error: Exception in thread "main" java.lang.IllegalArgumentException: IDE must reside in a directory: /home/runner/.gradle/daemon/8.2/ides/IC-2023.2.2

Open PanPanZou opened this issue 1 year ago • 1 comments

I use the template recommended:

verify:
    name: Verify plugin
    needs: [ build ]
    runs-on: ubuntu-latest
    steps:

      - name: Maximize Build Space
        uses: jlumbroso/free-disk-space@main
        with:
          tool-cache: false
          large-packages: false
      - name: Fetch Sources
        uses: actions/checkout@v4
      - name: Setup Java
        uses: actions/setup-java@v4
        with:
          distribution: zulu
          java-version: 17
      - name: Setup Gradle
        uses: gradle/[email protected]
        with:
          gradle-home-cache-cleanup: true
      - name: Setup Plugin Verifier IDEs Cache
        uses: actions/cache@v3
        with:
          path: ${{ needs.build.outputs.pluginVerifierHomeDir }}/ides
          key: plugin-verifier-${{ hashFiles('build/listProductsReleases.txt') }}
      - name: Run Plugin Verification tasks
        run: ./gradlew runPluginVerifier -Dplugin.verifier.home.dir=${{ needs.build.outputs.pluginVerifierHomeDir }}
      - name: Collect Plugin Verifier Result
        if: ${{ always() }}
        uses: actions/upload-artifact@v3
        with:
          name: pluginVerifier-result
          path: ${{ github.workspace }}/build/reports/pluginVerifier

but got an error: Error: Exception in thread "main" java.lang.IllegalArgumentException: IDE must reside in a directory: /home/runner/.gradle/daemon/8.2/ides/IC-2023.2.2. Where https://github.com/JetBrains/intellij-plugin-verifier/releases/tag/v1.256 said that this issue has been fixed, but I still got this error.

PanPanZou avatar Dec 26 '23 07:12 PanPanZou

Please provide more details, such as logs, link to the failing build, etc.

hsz avatar Jan 12 '24 13:01 hsz