Skip to content

Commit 4107e85

Browse files
committed
add show projects
1 parent 92b9ee1 commit 4107e85

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

.github/actions/build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ runs:
6868
COMMERCIAL_REPO_PASSWORD: ${{ inputs.commercial-repository-password }}
6969
COMMERCIAL_REPO_USERNAME: ${{ inputs.commercial-repository-username }}
7070
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
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
7272
# - name: Publish
7373
# id: publish
7474
# if: ${{ inputs.publish == 'true' }}

.github/workflows/build-pull-request.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ jobs:
1212
- name: Remove gradle cache folder
1313
run: rm -rf ~/.gradle/caches
1414

15-
# This enables task distribution via Nx Cloud
16-
# Run this command as early as possible, before dependencies are installed
17-
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
18-
# Uncomment this line to enable task distribution
19-
- 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"
20-
2115
- name: Use Node.js
2216
uses: actions/setup-node@v4
2317
with:
@@ -26,6 +20,15 @@ jobs:
2620
cache: npm
2721
- run: npm install
2822

23+
# This enables task distribution via Nx Cloud
24+
# Run this command as early as possible, before dependencies are installed
25+
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
26+
# Uncomment this line to enable task distribution
27+
- 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"
28+
29+
- run: npx nx show projects
30+
- run: npx nx show project spring-boot-loader --json
31+
2932
- name: Build
3033
id: build
3134
uses: ./.github/actions/build

.nx/workflows/agents.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ launch-templates:
3737
'../.cache/Cypress'
3838
base-branch: 'main'
3939
- name: Install Node Modules
40-
uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml'
40+
uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml'
41+
42+
- name: Show projects
43+
script: npx nx show projects

0 commit comments

Comments
 (0)