Skip to content

Commit b724764

Browse files
committed
try different globs
1 parent 09986a2 commit b724764

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ jobs:
5757
- name: Build Packages
5858
run: pnpm run build:all
5959
- name: Publish Previews
60-
run: pnpx pkg-pr-new publish --pnpm --compact './packages/!(angular-query-experimental)' './packages/angular-query-experimental/build' --template './examples/*/*'
60+
shell: bash
61+
# first exclude angular-query-experimental, then add explicitly with build subpath where the package is built
62+
run: |
63+
dirs=($(find ./packages -mindepth 1 -maxdepth 1 -type d ! -name 'angular-query-experimental') './packages/angular-query-experimental/build')
64+
pnpx pkg-pr-new publish --pnpm --compact "${dirs[@]}" --template './examples/*/*'
6165
- name: Determine commit SHA
6266
id: determine-sha
6367
run: |

0 commit comments

Comments
 (0)