Skip to content

Commit 37609a2

Browse files
committed
disable gradle cache
1 parent 979fb19 commit 37609a2

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

.github/actions/build/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ outputs:
5050
runs:
5151
using: composite
5252
steps:
53+
- name: nx show project spring-boot-loader
54+
shell: bash
55+
run: npx nx show project spring-boot-loader --json --verbose
5356
- name: Prepare Gradle Build
5457
uses: ./.github/actions/prepare-gradle-build
5558
with:
@@ -59,6 +62,9 @@ runs:
5962
java-early-access: ${{ inputs.java-early-access }}
6063
java-toolchain: ${{ inputs.java-toolchain }}
6164
java-version: ${{ inputs.java-version }}
65+
- name: nx show project spring-boot-loader
66+
shell: bash
67+
run: npx nx show project spring-boot-loader --json --verbose
6268
- name: Build
6369
id: build
6470
if: ${{ inputs.publish == 'false' }}
@@ -68,7 +74,7 @@ runs:
6874
COMMERCIAL_REPO_PASSWORD: ${{ inputs.commercial-repository-password }}
6975
COMMERCIAL_REPO_USERNAME: ${{ inputs.commercial-repository-username }}
7076
COMMERCIAL_SNAPSHOT_REPO_URL: ${{ inputs.commercial-snapshot-repository-url }}
71-
run: NX_BATCH_MODE=true NX_CLOUD_DEREFERENCE_SYMLINKS=true NX_VERBOSE_LOGGING=true NX_PERF_LOGGING=true NX_CLOUD_NO_TIMEOUTS=true NX_CLOUD_VERBOSE_LOGGING=true npx nx run-many -t=build-ci --parallel=32 --batch --outputStyle=stream
77+
run: CI=true NX_BATCH_MODE=true NX_CLOUD_DEREFERENCE_SYMLINKS=true NX_VERBOSE_LOGGING=true NX_PERF_LOGGING=true NX_CLOUD_NO_TIMEOUTS=true NX_CLOUD_VERBOSE_LOGGING=true npx nx run-many -t=build-ci --parallel=32 --batch --outputStyle=stream
7278
# - name: Publish
7379
# id: publish
7480
# if: ${{ inputs.publish == 'true' }}

.github/actions/prepare-gradle-build/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ runs:
4444
if: ${{ inputs.cache-read-only == 'false' }}
4545
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
4646
with:
47+
cache-disabled: true
4748
cache-read-only: false
4849
develocity-access-key: ${{ inputs.develocity-access-key }}
4950
- name: Set Up Gradle
5051
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
5152
with:
53+
cache-disabled: true
5254
develocity-access-key: ${{ inputs.develocity-access-key }}
5355
develocity-token-expiry: 4
5456
- name: Configure Gradle Properties

.github/workflows/verify.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
5959
with:
6060
cache-read-only: false
61+
cache-disabled: true
6162
- name: Configure Gradle Properties
6263
shell: bash
6364
run: |

.nx/workflows/agents.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,10 @@ launch-templates:
4040
uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml'
4141

4242
- name: Show projects
43-
script: npx nx show projects
43+
script: npx nx show projects
44+
45+
- name: show project spring-boot-buildpack-platform
46+
script: npx nx show project spring-boot-buildpack-platform --json
47+
48+
- name: show project spring-boot-loader
49+
script: npx nx show project spring-boot-loader --json

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
}
4747
}
4848
},
49-
"bustCache": 101,
49+
"bustCache": 102,
5050
"nxCloudUrl": "https://staging.nx.app",
5151
"nxCloudId": "67a56832eb5d9093e3ebe776"
5252
}

scripts/patch-nx-executor-utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const taskRunnerUtilsPath = path.join(__dirname, '../node_modules/nx/src/tasks-r
88

99
// Enhanced parseExecutor function with comprehensive logging
1010
const patchedParseExecutor = `function parseExecutor(executorString) {
11-
console.log('DEBUG: parseExecutor called with:', executorString);
11+
// console.log('DEBUG: parseExecutor called with:', executorString);
1212
1313
// Capture call stack to identify which target is causing the issue
1414
const stack = new Error().stack;
@@ -35,7 +35,7 @@ const patchedParseExecutor = `function parseExecutor(executorString) {
3535
}
3636
3737
const result = executorString.split(':');
38-
console.log('DEBUG: parseExecutor result:', result);
38+
// console.log('DEBUG: parseExecutor result:', result);
3939
return result;
4040
}`;
4141

0 commit comments

Comments
 (0)