100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Fix Gradle caching (#2277)
Wouter Bornd8d488320332
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex 96e52d9fa..a66b9cad3 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -279,6 +279,14 @@ jobs:with:files: ".ci_cd/ci_cd.json"+ - name: Set up JDK 21 and gradle cache+ id: java+ uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5+ with:+ distribution: 'temurin'+ java-version: '21'+ cache: 'gradle'+- name: Get version detailsid: get-version-detailsrun: |@@ -586,15 +594,6 @@ jobs:version: latestinstall: true- - name: Set up JDK 21 and gradle cache- id: java- if: ${{ steps.install-command.outputs.value != '' || steps.test-backend-command.outputs.value != '' }}- uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4- with:- distribution: 'temurin'- java-version: '21'- cache: 'gradle'-- name: Get yarn cache directory pathid: yarn-cache-dir-pathrun: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUTdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 76d2af208..b85f030d7 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -35,7 +35,7 @@ jobs:uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4- name: Set up JDK 21 and gradle cache- uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4+ uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5with:distribution: 'temurin'java-version: '21'