Skip to content

Commit 4c1c008

Browse files
authored
Configure pub cache
1 parent 3070db6 commit 4c1c008

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ if [ $? -ne 0 ]; then
5959
fi
6060
rm "${HOME}/dartsdk.zip"
6161

62+
# Configure pub to use a fixed location (standard behavoir uses a different location on Windows).
63+
export PUB_CACHE="${HOME}/.pub-cache"
64+
6265
# Update paths.
6366
echo "${HOME}/.pub-cache/bin" >> $GITHUB_PATH
6467
echo "${RUNNER_TOOL_CACHE}/dart-sdk/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)