From e75499f7a7ea6cd8574abea9d26bc808b4d5baff Mon Sep 17 00:00:00 2001 From: reymondzzzz Date: Thu, 2 Nov 2023 21:17:14 +0300 Subject: [PATCH] update cicl --- .github/workflows/build.yml | 14 ++++++++++---- .github/workflows/release.yml | 12 +++++++++++- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 99e8bc02..741f15cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,16 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} + - name: Download artifact + id: download-artifact + uses: dawidd6/action-download-artifact@v2 + with: + github_token: ${{secrets.GITHUB_TOKEN}} + workflow: build.yml + repo: smallcloudai/refact-lsp + branch: main + path: ./src/main/resources/bin + # Validate wrapper - name: Gradle Wrapper Validation uses: gradle/wrapper-validation-action@v1.0.6 @@ -85,11 +95,7 @@ jobs: name: pluginVerifier-result path: ${{ github.workspace }}/build/reports/pluginVerifier -# # Run Qodana inspections -# - name: Qodana - Code Inspection -# uses: JetBrains/qodana-action@v2022.3.4 - # Prepare plugin archive content for creating artifact - name: Prepare Plugin Artifact id: artifact shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eacae2c4..ffc3650c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: # Run Gradle Wrapper Validation Action to verify the wrapper's checksum # Run verifyPlugin, IntelliJ Plugin Verifier, and test Gradle tasks # Build plugin and provide the artifact for the next workflow jobs - build: + release: name: Release runs-on: ubuntu-latest outputs: @@ -32,6 +32,16 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.ref }} + - name: Download artifact + id: download-artifact + uses: dawidd6/action-download-artifact@v2 + with: + github_token: ${{secrets.GITHUB_TOKEN}} + workflow: build.yml + repo: smallcloudai/refact-lsp + branch: main + path: ./src/main/resources/bin + # Validate wrapper - name: Gradle Wrapper Validation uses: gradle/wrapper-validation-action@v1.0.6