From 7bcd9f6c56fb81b5793ba416e789bcf9c95e91b8 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Thu, 12 Sep 2024 11:14:02 +0300 Subject: [PATCH 01/13] to run only verify --- .github/workflows/release.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 959b9dfa..bc77d5f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,11 @@ on: description: 'Channels to publish development releases' required: false type: string + only_verify: + description: 'Run only verify step' + required: false + default: 'false' + type: boolean workflow_dispatch: inputs: tag: @@ -29,6 +34,11 @@ on: description: 'Channels to publish development releases' required: false type: string + only_verify: + description: 'Run only verify step' + required: false + default: 'false' + type: boolean env: CX_BASE_URI: ${{ secrets.CX_BASE_URI }} @@ -43,7 +53,6 @@ env: CX_NOT_MATCH_TEST_BRANCH: ${{ secrets.CX_NOT_MATCH_TEST_BRANCH }} CX_NOT_MATCH_TEST_SCAN_ID: ${{ secrets.CX_NOT_MATCH_TEST_SCAN_ID }} - jobs: verify: runs-on: ubuntu-latest @@ -67,8 +76,10 @@ jobs: with: name: verifier-report path: build/reports/pluginVerifier + testIntegration: needs: [ verify ] + if: ${{ inputs.only_verify == 'false' }} runs-on: ubuntu-latest steps: # Check out current repository @@ -94,13 +105,19 @@ jobs: name: test-fails-report-integration path: | build/reports + deleteDevReleases: + needs: [ testIntegration ] + if: ${{ inputs.only_verify == 'false' }} uses: Checkmarx/ast-jetbrains-plugin/.github/workflows/delete-dev-releases.yml@main with: tag: ${{ inputs.rchannels }} secrets: inherit if: inputs.rchannels + release: + needs: [ testIntegration ] + if: ${{ inputs.only_verify == 'false' }} runs-on: ubuntu-latest steps: # Check out current repository @@ -149,4 +166,4 @@ jobs: ./gradlew publishPlugin else ./gradlew publishPlugin -Prchannels=${{ inputs.rchannels }} - fi \ No newline at end of file + fi From d98c8e01a74029bae4553753f64b707de3afab47 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Thu, 12 Sep 2024 11:25:05 +0300 Subject: [PATCH 02/13] Update release.yml --- .github/workflows/release.yml | 115 ---------------------------------- 1 file changed, 115 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc77d5f2..7bb0a175 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,25 +1,6 @@ name: Release on: - workflow_call: - inputs: - tag: - description: 'Next release tag' - required: true - type: string - javawrapperversion: - description: 'Java Wrapper Version' - required: false - type: string - rchannels: - description: 'Channels to publish development releases' - required: false - type: string - only_verify: - description: 'Run only verify step' - required: false - default: 'false' - type: boolean workflow_dispatch: inputs: tag: @@ -34,11 +15,6 @@ on: description: 'Channels to publish development releases' required: false type: string - only_verify: - description: 'Run only verify step' - required: false - default: 'false' - type: boolean env: CX_BASE_URI: ${{ secrets.CX_BASE_URI }} @@ -76,94 +52,3 @@ jobs: with: name: verifier-report path: build/reports/pluginVerifier - - testIntegration: - needs: [ verify ] - if: ${{ inputs.only_verify == 'false' }} - runs-on: ubuntu-latest - steps: - # Check out current repository - - name: Fetch Sources - uses: actions/checkout@v4 - # Setup Java 11 environment for the next steps - - name: Setup Java - uses: actions/setup-java@v3.13.0 - with: - distribution: zulu - java-version: 11 - # Perform clean before testing - - name: Clean - run: ./gradlew clean - # Run tests - - name: Tests - run: ./gradlew test -i --tests com.checkmarx.intellij.standard* - # Save report if tests fail - - name: Save fails report - if: ${{ failure() }} - uses: actions/upload-artifact@v3 - with: - name: test-fails-report-integration - path: | - build/reports - - deleteDevReleases: - needs: [ testIntegration ] - if: ${{ inputs.only_verify == 'false' }} - uses: Checkmarx/ast-jetbrains-plugin/.github/workflows/delete-dev-releases.yml@main - with: - tag: ${{ inputs.rchannels }} - secrets: inherit - if: inputs.rchannels - - release: - needs: [ testIntegration ] - if: ${{ inputs.only_verify == 'false' }} - runs-on: ubuntu-latest - steps: - # Check out current repository - - name: Fetch Sources - uses: actions/checkout@v4 - # Setup Java 11 environment for the next steps - - name: Setup Java - uses: actions/setup-java@v3.13.0 - with: - distribution: zulu - java-version: 11 - # Set the tag in an env var - - name: Set env - run: | - echo "RELEASE_VERSION=${{ inputs.tag }}" >> $GITHUB_ENV - echo "JAVA_WRAPPER_VERSION=${{ inputs.javawrapperversion }}" >> $GITHUB_ENV - - name: Create Release Name - run: | - echo "Creating release name" - if [ -z "${{ inputs.rchannels }}" ]; then - echo "GH_RELEASE_TAG_NAME=${{ env.RELEASE_VERSION }}" >> $GITHUB_ENV - else - echo "GH_RELEASE_TAG_NAME=${{ env.RELEASE_VERSION }}-${{ inputs.rchannels }}" >> $GITHUB_ENV - fi - echo "Release name - ${{ env.GH_RELEASE_TAG_NAME }}" - # Build plugin - - name: Build - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew buildPlugin --info - # Create the release or prerelease - - name: Create Release or Prerelease - uses: softprops/action-gh-release@v1 - with: - tag_name: ${{ env.GH_RELEASE_TAG_NAME }} - name: ${{ env.GH_RELEASE_TAG_NAME }} - files: build/distributions/* - generate_release_notes: true - prerelease: ${{ inputs.rchannels != '' && inputs.rchannels != null }} - # Publish the plugin in marketplace - - name: Publish Plugin - env: - PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} - run: | - if [ -z "${{ inputs.rchannels }}" ]; then - ./gradlew publishPlugin - else - ./gradlew publishPlugin -Prchannels=${{ inputs.rchannels }} - fi From 58a3fb1ecfbf9df11a7f52df2ce42ebed1f1ecc3 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Thu, 12 Sep 2024 11:28:51 +0300 Subject: [PATCH 03/13] rm tag line --- .github/workflows/release.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bb0a175..6ae24908 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,6 @@ name: Release on: workflow_dispatch: inputs: - tag: - description: 'Next release tag' - required: true - type: string javawrapperversion: description: 'Java Wrapper Version' required: false From d2e8d57663d24625f1052861d7221d9cf877a2b9 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 15:58:05 +0300 Subject: [PATCH 04/13] check disk usage --- .github/workflows/debug-disk-usage.yml | 30 ++++++++++++++++++++++++++ build.gradle | 4 ++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/debug-disk-usage.yml diff --git a/.github/workflows/debug-disk-usage.yml b/.github/workflows/debug-disk-usage.yml new file mode 100644 index 00000000..b9cfa1aa --- /dev/null +++ b/.github/workflows/debug-disk-usage.yml @@ -0,0 +1,30 @@ +name: Debug Disk Usage + +# Allows manual triggering of the workflow +on: + workflow_dispatch: + +jobs: + debug: + runs-on: ubuntu-latest + + steps: + # Check disk usage at the start of the job + - name: Show initial disk usage + run: df -h + + # Checkout the repository code + - name: Checkout code + uses: actions/checkout@v2 + + # List contents of _diag folder + - name: List contents of _diag folder + run: ls -lah /home/runner/runners/2.319.1/_diag/ + + # Print log file content + - name: Print log file content + run: cat /home/runner/runners/2.319.1/_diag/Worker_20240912-091619-utc.log + + # Check disk usage at the end of the job + - name: Show disk usage at the end + run: df -h diff --git a/build.gradle b/build.gradle index 55ae82c4..866fc727 100644 --- a/build.gradle +++ b/build.gradle @@ -57,12 +57,12 @@ dependencies { // See https://github.com/JetBrains/gradle-intellij-plugin/ intellij { - version = '2022.2.1' + version = '2022.3' updateSinceUntilBuild = false } runPluginVerifier { - ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3', 'IC-2024.1'] + ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3'] } downloadRobotServerPlugin { From cf389d8ef072375388fb058767cba333daf3ec35 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 16:01:59 +0300 Subject: [PATCH 05/13] Update release.yml --- .github/workflows/release.yml | 66 ++++++++++++----------------------- 1 file changed, 23 insertions(+), 43 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ae24908..b9cfa1aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,50 +1,30 @@ -name: Release +name: Debug Disk Usage +# Allows manual triggering of the workflow on: workflow_dispatch: - inputs: - javawrapperversion: - description: 'Java Wrapper Version' - required: false - type: string - rchannels: - description: 'Channels to publish development releases' - required: false - type: string - -env: - CX_BASE_URI: ${{ secrets.CX_BASE_URI }} - CX_APIKEY: ${{ secrets.CX_APIKEY }} - CX_TENANT: ${{ secrets.CX_TENANT }} - CX_TEST_REPO: ${{ secrets.CX_TEST_REPO }} - CX_TEST_SCAN: ${{ secrets.CX_TEST_SCAN }} - CX_TEST_BRANCH: ${{ secrets.CX_TEST_BRANCH }} - CX_TEST_PROJECT: ${{ secrets.CX_TEST_PROJECT }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CX_NOT_MATCH_TEST_PROJECT: ${{ secrets.CX_NOT_MATCH_TEST_PROJECT }} - CX_NOT_MATCH_TEST_BRANCH: ${{ secrets.CX_NOT_MATCH_TEST_BRANCH }} - CX_NOT_MATCH_TEST_SCAN_ID: ${{ secrets.CX_NOT_MATCH_TEST_SCAN_ID }} jobs: - verify: + debug: runs-on: ubuntu-latest + steps: - # Check out current repository - - name: Checkout Code - uses: actions/checkout@v4 - # Setup Java 11 environment for the next steps - - name: Setup Java - uses: actions/setup-java@v3.13.0 - with: - distribution: zulu - java-version: 11 - # Run verifier - - name: Run plugin verifier - run: ./gradlew runPluginVerifier - # Upload verifier report - - name: Upload report - uses: actions/upload-artifact@v3 - if: always() - with: - name: verifier-report - path: build/reports/pluginVerifier + # Check disk usage at the start of the job + - name: Show initial disk usage + run: df -h + + # Checkout the repository code + - name: Checkout code + uses: actions/checkout@v2 + + # List contents of _diag folder + - name: List contents of _diag folder + run: ls -lah /home/runner/runners/2.319.1/_diag/ + + # Print log file content + - name: Print log file content + run: cat /home/runner/runners/2.319.1/_diag/Worker_20240912-091619-utc.log + + # Check disk usage at the end of the job + - name: Show disk usage at the end + run: df -h From 34c4d848c663d6ff5724892a44858d1737785c26 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 16:13:55 +0300 Subject: [PATCH 06/13] check disk usage --- .github/workflows/debug-disk-usage.yml | 30 --------- .github/workflows/release.yml | 85 ++++++++++++++++++++------ 2 files changed, 68 insertions(+), 47 deletions(-) delete mode 100644 .github/workflows/debug-disk-usage.yml diff --git a/.github/workflows/debug-disk-usage.yml b/.github/workflows/debug-disk-usage.yml deleted file mode 100644 index b9cfa1aa..00000000 --- a/.github/workflows/debug-disk-usage.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Debug Disk Usage - -# Allows manual triggering of the workflow -on: - workflow_dispatch: - -jobs: - debug: - runs-on: ubuntu-latest - - steps: - # Check disk usage at the start of the job - - name: Show initial disk usage - run: df -h - - # Checkout the repository code - - name: Checkout code - uses: actions/checkout@v2 - - # List contents of _diag folder - - name: List contents of _diag folder - run: ls -lah /home/runner/runners/2.319.1/_diag/ - - # Print log file content - - name: Print log file content - run: cat /home/runner/runners/2.319.1/_diag/Worker_20240912-091619-utc.log - - # Check disk usage at the end of the job - - name: Show disk usage at the end - run: df -h diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9cfa1aa..f6dc7161 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,30 +1,81 @@ -name: Debug Disk Usage +name: Release -# Allows manual triggering of the workflow on: workflow_dispatch: + inputs: + javawrapperversion: + description: 'Java Wrapper Version' + required: false + type: string + rchannels: + description: 'Channels to publish development releases' + required: false + type: string + +env: + CX_BASE_URI: ${{ secrets.CX_BASE_URI }} + CX_APIKEY: ${{ secrets.CX_APIKEY }} + CX_TENANT: ${{ secrets.CX_TENANT }} + CX_TEST_REPO: ${{ secrets.CX_TEST_REPO }} + CX_TEST_SCAN: ${{ secrets.CX_TEST_SCAN }} + CX_TEST_BRANCH: ${{ secrets.CX_TEST_BRANCH }} + CX_TEST_PROJECT: ${{ secrets.CX_TEST_PROJECT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CX_NOT_MATCH_TEST_PROJECT: ${{ secrets.CX_NOT_MATCH_TEST_PROJECT }} + CX_NOT_MATCH_TEST_BRANCH: ${{ secrets.CX_NOT_MATCH_TEST_BRANCH }} + CX_NOT_MATCH_TEST_SCAN_ID: ${{ secrets.CX_NOT_MATCH_TEST_SCAN_ID }} jobs: - debug: + verify: runs-on: ubuntu-latest - steps: - # Check disk usage at the start of the job - - name: Show initial disk usage + # Check disk usage before starting + - name: Check initial disk usage + run: df -h + + # Check inode usage before starting + - name: Check initial inode usage + run: df -i + + # Check out current repository + - name: Checkout Code + uses: actions/checkout@v4 + + # Check disk usage after checkout + - name: Check disk usage after checkout run: df -h - # Checkout the repository code - - name: Checkout code - uses: actions/checkout@v2 + # Setup Java 11 environment for the next steps + - name: Setup Java + uses: actions/setup-java@v3.13.0 + with: + distribution: zulu + java-version: 11 + + # Check disk usage after setting up Java + - name: Check disk usage after Java setup + run: df -h + + # Run verifier + - name: Run plugin verifier + run: ./gradlew runPluginVerifier + + # Check disk usage after running verifier + - name: Check disk usage after verifier + run: df -h - # List contents of _diag folder - - name: List contents of _diag folder - run: ls -lah /home/runner/runners/2.319.1/_diag/ + # Check inode usage after running verifier + - name: Check inode usage after verifier + run: df -i - # Print log file content - - name: Print log file content - run: cat /home/runner/runners/2.319.1/_diag/Worker_20240912-091619-utc.log + # Upload verifier report + - name: Upload report + uses: actions/upload-artifact@v3 + if: always() + with: + name: verifier-report + path: build/reports/pluginVerifier - # Check disk usage at the end of the job - - name: Show disk usage at the end + # Final disk usage check + - name: Check final disk usage run: df -h From 6918d2300c3b8c3ef7b6ce4a5044ca2d119cb208 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 16:29:24 +0300 Subject: [PATCH 07/13] delete publish --- .github/workflows/release.yml | 123 +++++++++++++++++++++++++--------- build.gradle | 4 +- 2 files changed, 94 insertions(+), 33 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6dc7161..49ffd48b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,26 @@ name: Release on: + workflow_call: + inputs: + tag: + description: 'Next release tag' + required: true + type: string + javawrapperversion: + description: 'Java Wrapper Version' + required: false + type: string + rchannels: + description: 'Channels to publish development releases' + required: false + type: string workflow_dispatch: inputs: + tag: + description: 'Next release tag' + required: true + type: string javawrapperversion: description: 'Java Wrapper Version' required: false @@ -25,49 +43,23 @@ env: CX_NOT_MATCH_TEST_BRANCH: ${{ secrets.CX_NOT_MATCH_TEST_BRANCH }} CX_NOT_MATCH_TEST_SCAN_ID: ${{ secrets.CX_NOT_MATCH_TEST_SCAN_ID }} + jobs: verify: runs-on: ubuntu-latest steps: - # Check disk usage before starting - - name: Check initial disk usage - run: df -h - - # Check inode usage before starting - - name: Check initial inode usage - run: df -i - # Check out current repository - name: Checkout Code uses: actions/checkout@v4 - - # Check disk usage after checkout - - name: Check disk usage after checkout - run: df -h - # Setup Java 11 environment for the next steps - name: Setup Java uses: actions/setup-java@v3.13.0 with: distribution: zulu java-version: 11 - - # Check disk usage after setting up Java - - name: Check disk usage after Java setup - run: df -h - # Run verifier - name: Run plugin verifier run: ./gradlew runPluginVerifier - - # Check disk usage after running verifier - - name: Check disk usage after verifier - run: df -h - - # Check inode usage after running verifier - - name: Check inode usage after verifier - run: df -i - # Upload verifier report - name: Upload report uses: actions/upload-artifact@v3 @@ -75,7 +67,76 @@ jobs: with: name: verifier-report path: build/reports/pluginVerifier - - # Final disk usage check - - name: Check final disk usage - run: df -h + testIntegration: + needs: [ verify ] + runs-on: ubuntu-latest + steps: + # Check out current repository + - name: Fetch Sources + uses: actions/checkout@v4 + # Setup Java 11 environment for the next steps + - name: Setup Java + uses: actions/setup-java@v3.13.0 + with: + distribution: zulu + java-version: 11 + # Perform clean before testing + - name: Clean + run: ./gradlew clean + # Run tests + - name: Tests + run: ./gradlew test -i --tests com.checkmarx.intellij.standard* + # Save report if tests fail + - name: Save fails report + if: ${{ failure() }} + uses: actions/upload-artifact@v3 + with: + name: test-fails-report-integration + path: | + build/reports + deleteDevReleases: + uses: Checkmarx/ast-jetbrains-plugin/.github/workflows/delete-dev-releases.yml@main + with: + tag: ${{ inputs.rchannels }} + secrets: inherit + if: inputs.rchannels + release: + runs-on: ubuntu-latest + steps: + # Check out current repository + - name: Fetch Sources + uses: actions/checkout@v4 + # Setup Java 11 environment for the next steps + - name: Setup Java + uses: actions/setup-java@v3.13.0 + with: + distribution: zulu + java-version: 11 + # Set the tag in an env var + - name: Set env + run: | + echo "RELEASE_VERSION=${{ inputs.tag }}" >> $GITHUB_ENV + echo "JAVA_WRAPPER_VERSION=${{ inputs.javawrapperversion }}" >> $GITHUB_ENV + - name: Create Release Name + run: | + echo "Creating release name" + if [ -z "${{ inputs.rchannels }}" ]; then + echo "GH_RELEASE_TAG_NAME=${{ env.RELEASE_VERSION }}" >> $GITHUB_ENV + else + echo "GH_RELEASE_TAG_NAME=${{ env.RELEASE_VERSION }}-${{ inputs.rchannels }}" >> $GITHUB_ENV + fi + echo "Release name - ${{ env.GH_RELEASE_TAG_NAME }}" + # Build plugin + - name: Build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: ./gradlew buildPlugin --info + # Create the release or prerelease + - name: Create Release or Prerelease + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ env.GH_RELEASE_TAG_NAME }} + name: ${{ env.GH_RELEASE_TAG_NAME }} + files: build/distributions/* + generate_release_notes: true + prerelease: ${{ inputs.rchannels != '' && inputs.rchannels != null }} diff --git a/build.gradle b/build.gradle index 866fc727..55ae82c4 100644 --- a/build.gradle +++ b/build.gradle @@ -57,12 +57,12 @@ dependencies { // See https://github.com/JetBrains/gradle-intellij-plugin/ intellij { - version = '2022.3' + version = '2022.2.1' updateSinceUntilBuild = false } runPluginVerifier { - ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3'] + ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3', 'IC-2024.1'] } downloadRobotServerPlugin { From c16936e9eabf892ee8d15acb297017bd3f5d3854 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 16:37:17 +0300 Subject: [PATCH 08/13] rm ideVersions just 1 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 55ae82c4..860a293e 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ intellij { } runPluginVerifier { - ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3', 'IC-2024.1'] + ideVersions = ['IC-2022.3'] } downloadRobotServerPlugin { From c4234aef2b84646c700075417e3b506b82daefe5 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 16:43:14 +0300 Subject: [PATCH 09/13] just Verifier 3 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 860a293e..357c2f8e 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ intellij { } runPluginVerifier { - ideVersions = ['IC-2022.3'] + ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2'] } downloadRobotServerPlugin { From f6536a37066e9cb6b089e556afa1693ce1f4a6f5 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 16:50:41 +0300 Subject: [PATCH 10/13] just 4 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 357c2f8e..a8c178e6 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ intellij { } runPluginVerifier { - ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2'] + ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3'] } downloadRobotServerPlugin { From f6433c2620311d8cb6b39c93e16842b66040b09c Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 17:02:21 +0300 Subject: [PATCH 11/13] add 2024.1 but just 4 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a8c178e6..a75168d7 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ intellij { } runPluginVerifier { - ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3'] + ideVersions = ['IC-2023.1', 'IC-2023.2', 'IC-2023.3', 'IC-2024.1'] } downloadRobotServerPlugin { From 875d79598240751b8cc4d2aab10bb5f6ca911226 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 17:14:31 +0300 Subject: [PATCH 12/13] for PR --- .github/workflows/release.yml | 10 ++++++++++ build.gradle | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49ffd48b..959b9dfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,3 +140,13 @@ jobs: files: build/distributions/* generate_release_notes: true prerelease: ${{ inputs.rchannels != '' && inputs.rchannels != null }} + # Publish the plugin in marketplace + - name: Publish Plugin + env: + PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} + run: | + if [ -z "${{ inputs.rchannels }}" ]; then + ./gradlew publishPlugin + else + ./gradlew publishPlugin -Prchannels=${{ inputs.rchannels }} + fi \ No newline at end of file diff --git a/build.gradle b/build.gradle index a75168d7..a8c178e6 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ intellij { } runPluginVerifier { - ideVersions = ['IC-2023.1', 'IC-2023.2', 'IC-2023.3', 'IC-2024.1'] + ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3'] } downloadRobotServerPlugin { From b508cd9e535a5a6393bee4639401f2fb356b84a1 Mon Sep 17 00:00:00 2001 From: elchananarb Date: Tue, 17 Sep 2024 17:43:13 +0300 Subject: [PATCH 13/13] add 2024.1 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index a8c178e6..a75168d7 100644 --- a/build.gradle +++ b/build.gradle @@ -62,7 +62,7 @@ intellij { } runPluginVerifier { - ideVersions = ['IC-2022.3', 'IC-2023.1', 'IC-2023.2', 'IC-2023.3'] + ideVersions = ['IC-2023.1', 'IC-2023.2', 'IC-2023.3', 'IC-2024.1'] } downloadRobotServerPlugin {