Skip to content

Commit

Permalink
ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
reymondzzzz committed Oct 18, 2024
1 parent 998b933 commit 0ae7d68
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
name: refact-chat-js-latest
path: ./src/main/resources/webview/dist

- uses: convictional/[email protected].1
- uses: convictional/[email protected].5
name: "Build refact-lsp"
with:
owner: smallcloudai
Expand All @@ -71,7 +71,7 @@ jobs:

# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v3
uses: gradle/actions/wrapper-validation@v3

# Setup Java 17 environment for the next steps
- name: Setup Java
Expand Down Expand Up @@ -114,7 +114,6 @@ jobs:

# Collect Plugin Verifier Result
- name: Collect Plugin Verifier Result
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: pluginVerifier-result
Expand All @@ -133,7 +132,7 @@ jobs:
# Store already-built plugin as an artifact for downloading
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifact.outputs.filename }}
path: ./build/distributions/content/*/*
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
name: refact-chat-js-latest
path: ./src/main/resources/webview/dist

- uses: convictional/[email protected].1
- uses: convictional/[email protected].5
name: "Build refact-lsp"
with:
owner: smallcloudai
Expand All @@ -84,12 +84,14 @@ jobs:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
repo: smallcloudai/refact-lsp
name_is_regexp: true
name: dist-*
branch: ${{ steps.setupvars.outputs.lsp_version }}
path: ./src/main/resources/bin

# Validate wrapper
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v3
uses: gradle/actions/wrapper-validation@v3

# Setup Java 17 environment for the next steps
- name: Setup Java
Expand Down Expand Up @@ -151,7 +153,7 @@ jobs:
# Store already-built plugin as an artifact for downloading
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.artifact.outputs.filename }}
path: ./build/distributions/content/*/*
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html

pluginGroup = "com.smallcloud"
pluginName = IntelliJ Platform Plugin Template
pluginRepositoryUrl = https://github.com/JetBrains/intellij-platform-plugin-template
pluginName = Refact.ai
pluginRepositoryUrl = https://github.com/smallcloudai/refact-intellij
# SemVer format -> https://semver.org
pluginVersion = 1.4.2

Expand Down
2 changes: 0 additions & 2 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ integrated into a single package that follows your privacy settings.</p>
<depends>com.intellij.modules.lang</depends>
<depends>com.intellij.modules.vcs</depends>
<depends>Git4Idea</depends>
<depends>com.intellij.modules.python</depends> <!-- PyCharm support -->
<depends>com.intellij.modules.cidr.lang</depends> <!-- CLion support -->

<!-- Extension points defined by the plugin.
Read more: https://plugins.jetbrains.com/docs/intellij/plugin-extension-points.html -->
Expand Down

0 comments on commit 0ae7d68

Please sign in to comment.