You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/scripts/changed-adapters.sh
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,8 @@
1
1
#!/bin/bash -e
2
2
3
3
# If BUILD_ALL is true, then we want to generate lists with all packages regardless of changes
4
-
# If ADAPTER_NAMES is set, then we want to generate lists with only those adapters. ADAPTER_NAMES should be a comma-separated list of short names (e.g. "coinpaprika,coingecko")
5
4
if [[ $BUILD_ALL=true ]];then
6
5
PACKAGE_LIST=$(yarn workspaces list -R --json)
7
-
elif [[ -n"$ADAPTER_NAMES" ]];then
8
-
PACKAGE_LIST=$(yarn workspaces list -R --json | jq --arg list "$ADAPTER_NAMES"'($list | split(",")) as $shortNames | select(.name as $name | $shortNames | any($name == "@chainlink/" + . + "-adapter"))')
9
6
else
10
7
PACKAGE_LIST=$(yarn workspaces list -R --json --since=$UPSTREAM_BRANCH)
0 commit comments