Skip to content

Commit

Permalink
fix(actions): Update java and remove Gradle setup (#245)
Browse files Browse the repository at this point in the history
* fix(build): Apply java update to all actions

* fix(build): Apply java update to all actions
  • Loading branch information
juancgalvis authored Nov 14, 2024
1 parent ab8f985 commit 2b19fd7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 30 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/intellij-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,6 @@ jobs:
distribution: temurin
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

# Set environment variables
- name: Export Properties
id: properties
Expand Down Expand Up @@ -124,12 +118,6 @@ jobs:
distribution: temurin
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true

# Run tests
- name: Run Tests
working-directory: ./ide_extension/intellij
Expand Down Expand Up @@ -167,12 +155,6 @@ jobs:
distribution: temurin
java-version: 21

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-home-cache-cleanup: true

# Run Verify Plugin task and IntelliJ Plugin Verifier tool
- name: Run Plugin Verification tasks
working-directory: ./ide_extension/intellij
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/intellij-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17

# Setup Gradle
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
distribution: temurin
java-version: 21

- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/intellij-v}" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/intellij-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0
with:
distribution: 'temurin'
java-version: 17
distribution: temurin
java-version: 21
- name: Set up NodeJS Latest
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 #v4.0.4
with:
Expand Down
4 changes: 2 additions & 2 deletions ide_extension/intellij/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ gradleVersion=8.10.2
# Opt-out flag for bundling Kotlin standard library -> https://jb.gg/intellij-platform-kotlin-stdlib
kotlin.stdlib.default.dependency=false
# Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html
org.gradle.configuration-cache=true
org.gradle.configuration-cache=false
# Enable Gradle Build Cache -> https://docs.gradle.org/current/userguide/build_cache.html
org.gradle.caching=true
org.gradle.caching=false

0 comments on commit 2b19fd7

Please sign in to comment.