Skip to content

Commit

Permalink
update cicl
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Nov 2, 2023
1 parent fba0aa3 commit e75499f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down Expand Up @@ -85,11 +95,7 @@ jobs:
name: pluginVerifier-result
path: ${{ github.workspace }}/build/reports/pluginVerifier

# # Run Qodana inspections
# - name: Qodana - Code Inspection
# uses: JetBrains/[email protected]

# Prepare plugin archive content for creating artifact
- name: Prepare Plugin Artifact
id: artifact
shell: bash
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/[email protected]
Expand Down

0 comments on commit e75499f

Please sign in to comment.