File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 59
59
java-early-access : ${{ inputs.java-early-access }}
60
60
java-toolchain : ${{ inputs.java-toolchain }}
61
61
java-version : ${{ inputs.java-version }}
62
+
63
+ - run : npx nx show projects
64
+
65
+ # This enables task distribution via Nx Cloud
66
+ # Run this command as early as possible, before dependencies are installed
67
+ # Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
68
+ # Uncomment this line to enable task distribution
69
+ - run : NX_CLOUD_FORCE_USE_EXECUTE_TASKS_V3=false NX_CLOUD_DEREFERENCE_SYMLINKS=true NX_CLOUD_RETRIEVAL_CONCURRENCY=50 NX_CLOUD_NO_TIMEOUTS=true NX_VERBOSE_LOGGING=true NX_CLOUD_VERBOSE_LOGGING=true NX_PERF_LOGGING=true npx nx-cloud start-ci-run --require-explicit-completion --distribute-on="../../.nx/workflows/distribution-config.yaml"
70
+
62
71
- name : Build
63
72
id : build
64
73
if : ${{ inputs.publish == 'false' }}
79
88
# COMMERCIAL_REPO_USERNAME: ${{ inputs.commercial-repository-username }}
80
89
# COMMERCIAL_SNAPSHOT_REPO_URL: ${{ inputs.commercial-snapshot-repository-url }}
81
90
# run: ./gradlew -PdeploymentRepository=$(pwd)/deployment-repository ${{ !startsWith(github.event.head_commit.message, 'Next development version') && 'build' || '' }} publishAllPublicationsToDeploymentRepository
91
+
92
+ - name : Stop nx cloud agents
93
+ if : always()
94
+ run : npx nx-cloud complete-ci-run
82
95
- name : Read Version From gradle.properties
83
96
id : read-version
84
97
shell : bash
Original file line number Diff line number Diff line change @@ -17,20 +17,10 @@ jobs:
17
17
cache : npm
18
18
- run : npm install
19
19
20
- - run : npx nx show projects
21
-
22
- # This enables task distribution via Nx Cloud
23
- # Run this command as early as possible, before dependencies are installed
24
- # Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
25
- # Uncomment this line to enable task distribution
26
- - run : NX_CLOUD_FORCE_USE_EXECUTE_TASKS_V3=false NX_CLOUD_DEREFERENCE_SYMLINKS=true NX_CLOUD_RETRIEVAL_CONCURRENCY=50 NX_CLOUD_NO_TIMEOUTS=true NX_VERBOSE_LOGGING=true NX_CLOUD_VERBOSE_LOGGING=true NX_PERF_LOGGING=true npx nx-cloud start-ci-run --require-explicit-completion --distribute-on="../../.nx/workflows/distribution-config.yaml"
27
-
28
20
- name : Build
29
21
id : build
30
22
uses : ./.github/actions/build
31
- - name : Stop nx cloud agents
32
- if : always()
33
- run : npx nx-cloud complete-ci-run
23
+
34
24
- name : Print JVM Thread Dumps When Cancelled
35
25
if : cancelled()
36
26
uses : ./.github/actions/print-jvm-thread-dumps
You can’t perform that action at this time.
0 commit comments