Skip to content

Commit 9486547

Browse files
committed
Add variables to Netlify .sh script
1 parent 52c5ce6 commit 9486547

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

netlify.build.default.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,9 @@ chmod u+x /tmp/dotnet-install.sh
77
/tmp/dotnet-install.sh --channel 10.0
88
popd
99

10+
export DOTNET_ROOT=/opt/buildhome/.dotnet
11+
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
12+
13+
dotnet --list-sdks
14+
1015
npm ci && npm run prodbuild && dotnet test ./src/Krompaco.RecordCollector.Generator/Krompaco.RecordCollector.Generator.csproj --logger "console;verbosity=detailed"

0 commit comments

Comments
 (0)