fix(ci): way of resolving affected

This commit is contained in:
Mikołaj Młodzikowski 2023-06-06 15:36:59 +02:00
parent 1521bab4c4
commit 3928dd5c0e
2 changed files with 4 additions and 1 deletions

View File

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

View File

@ -3,3 +3,5 @@ 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