Skip to content

Commit 315fc2d

Browse files
committed
ci(release): fix building publishable projects
1 parent 27af228 commit 315fc2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ on:
2323
workflow_dispatch:
2424
inputs:
2525
tag:
26-
description: 'Optional: publish a specific tag (e.g. nx-payload-2.1.0). Leave empty to publish pending packages.'
26+
description: Publish a specific tag (e.g. nx-payload-2.1.0). Leave empty to publish pending packages.
2727
required: false
2828
type: string
2929
dry-run:
30-
description: 'Do not publish anything, just see what would be published.'
30+
description: Do not publish anything, just see what would be published.
3131
required: false
3232
default: false
3333
type: boolean
@@ -126,7 +126,7 @@ jobs:
126126
if [ "${{ steps.ctx.outputs.mode }}" = "tag" ]; then
127127
pnpm nx build "${{ steps.ctx.outputs.package }}"
128128
else
129-
pnpm nx run-many -t build --with-target nx-release-publish
129+
pnpm nx show projects --with-target nx-release-publish | xargs -t pnpm nx run-many -t build -p
130130
fi
131131
132132
- name: Verify NPM token

0 commit comments

Comments
 (0)