fix(ci): way of resolving affected

This commit is contained in:
Mikołaj Młodzikowski 2023-06-06 15:03:18 +02:00
parent 429a5a23d3
commit b3036d520f
2 changed files with 2 additions and 3 deletions

View File

@ -136,7 +136,6 @@ jobs:
preview_explorer=$(printf "https://%s.%s.vega.rocks" "explorer" "$branch_slug")
fi
projects_e2e=${projects_e2e%?}
projects_e2e=[${projects_e2e// /,}]
projects=$(echo $projects_e2e | sed 's|-e2e||g')
if echo "$affected" | grep -q multisig-signer; then
echo "Tools are affected"
@ -151,6 +150,8 @@ jobs:
projects+='"multisig-signer" '
fi
fi
projects_e2e=[${projects_e2e// /,}]
projects=[${projects// /,}]
echo PROJECTS_E2E=$projects_e2e >> $GITHUB_ENV
echo PROJECTS=$projects >> $GITHUB_ENV
echo PREVIEW_GOVERNANCE=$preview_governance >> $GITHUB_ENV

View File

@ -3,5 +3,3 @@ NX_VEGA_CONFIG_URL=https://raw.githubusercontent.com/vegaprotocol/networks/maste
NX_VEGA_URL=https://api.vega.community/graphql
NX_VEGA_NETWORKS='{"TESTNET":"https://multisig-signer.fairground.wtf","MAINNET":"https://multisig-signer.vega.xyz"}'
NX_VEGA_ENV=MAINNET