mirror of
https://github.com/actions/runner-images.git
synced 2026-01-06 18:19:54 +08:00
Merge pull request #1642 from Darleev/v-danurg/vsmac_latest_implementation
macOS: VSMAC update tools with latest flag.
This commit is contained in:
@@ -3,6 +3,9 @@ source ~/utils/utils.sh
|
||||
source ~/utils/xamarin-utils.sh
|
||||
|
||||
VSMAC_VERSION=$(get_toolset_value '.xamarin.vsmac')
|
||||
if [ $VSMAC_VERSION == "latest" ]; then
|
||||
VSMAC_VERSION=$(curl https://formulae.brew.sh/api/cask/visual-studio.json 2>/dev/null | jq .version | tr -d \")
|
||||
fi
|
||||
VSMAC_DOWNLOAD_URL=$(buildVSMacDownloadUrl $VSMAC_VERSION)
|
||||
|
||||
TMPMOUNT=`/usr/bin/mktemp -d /tmp/visualstudio.XXXX`
|
||||
|
||||
Reference in New Issue
Block a user