File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ runs:
35
35
VERSION="latest"
36
36
fi
37
37
echo "PACKAGE_MANAGER=$PACKAGE_MANAGER" >> $GITHUB_ENV
38
- elif [ $(find "." -name "pnpm-lock.yaml") ]; then
38
+ elif [ $(find "." -maxdepth 1 - name "pnpm-lock.yaml") ]; then
39
39
echo "PACKAGE_MANAGER=pnpm" >> $GITHUB_ENV
40
40
echo "LOCKFILE=pnpm-lock.yaml" >> $GITHUB_ENV
41
- elif [ $(find "." -name "yarn.lock") ]; then
41
+ elif [ $(find "." -maxdepth 1 - name "yarn.lock") ]; then
42
42
echo "PACKAGE_MANAGER=yarn" >> $GITHUB_ENV
43
43
echo "LOCKFILE=yarn.lock" >> $GITHUB_ENV
44
- elif [ $(find "." -name "package-lock.json") ]; then
44
+ elif [ $(find "." -maxdepth 1 - name "package-lock.json") ]; then
45
45
VERSION="latest"
46
46
echo "PACKAGE_MANAGER=npm" >> $GITHUB_ENV
47
47
echo "LOCKFILE=package-lock.json" >> $GITHUB_ENV
48
- elif [ $(find "." -name "bun.lockb") ]; then
48
+ elif [ $(find "." -maxdepth 1 - name "bun.lockb") ]; then
49
49
VERSION="latest"
50
50
echo "PACKAGE_MANAGER=bun" >> $GITHUB_ENV
51
51
echo "LOCKFILE=bun.lockb" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments