File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,15 @@ jobs:
176
176
177
177
# Version history
178
178
179
+ # # v1.3
180
+ * The install location of the Dart SDK is now available
181
+ in an environment variable, `DART_HOME`
182
+ ([#43](https://github.com/dart-lang/setup-dart/issues/43))
183
+
184
+ * Fixed a issue where cached downloads could lead to unzip issues
185
+ on self hosted runners
186
+ ([#35](https://github.com/dart-lang/setup-dart/issues/35))
187
+
179
188
# # v1.2
180
189
* Fixed a path issue impacting git dependencies on Windows.
181
190
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ echo "Downloading ${URL}..."
77
77
78
78
# Download installation zip.
79
79
curl --connect-timeout 15 --retry 5 " $URL " > " ${HOME} /dartsdk.zip"
80
- unzip " ${HOME} /dartsdk.zip" -d " ${RUNNER_TOOL_CACHE} " > /dev/null
80
+ unzip -o " ${HOME} /dartsdk.zip" -d " ${RUNNER_TOOL_CACHE} " > /dev/null
81
81
if [ $? -ne 0 ]; then
82
82
echo -e " ::error::Download failed! Please check passed arguments."
83
83
exit 1
@@ -95,6 +95,7 @@ echo "PUB_CACHE=${PUBCACHE}" >> $GITHUB_ENV
95
95
echo " Pub cache set to: ${PUBCACHE} "
96
96
97
97
# Update paths.
98
+ echo " DART_HOME=${RUNNER_TOOL_CACHE} /dart-sdk/" >> $GITHUB_ENV
98
99
echo " ${PUBCACHE} /bin" >> $GITHUB_PATH
99
100
echo " ${RUNNER_TOOL_CACHE} /dart-sdk/bin" >> $GITHUB_PATH
100
101
You can’t perform that action at this time.
0 commit comments