Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mShan0 committed Jun 5, 2023
1 parent 3defb41 commit aed97a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,19 @@ jobs:
$exe_link = 'https://download.microsoft.com/download/3/8/d/38de7036-2433-4207-8eae-06e247e17b25/SQLServer2022-DEV-x64-ENU.exe'
$box_link = 'https://download.microsoft.com/download/3/8/d/38de7036-2433-4207-8eae-06e247e17b25/SQLServer2022-DEV-x64-ENU.box'
$update_link = 'https://www.microsoft.com/en-us/download/confirmation.aspx?id=105013'
$update_download_link = [System.Uri]::new((Invoke-WebRequest -Uri $update_link).Links.href | Where-Object {$_ -like 'https://download.microsoft.com/*'})
$update_download_link = [System.Uri]::new(((Invoke-WebRequest -Uri $update_link).Links.href | Where-Object {$_ -like 'https://download.microsoft.com/*'}))
}
'2019' {
$exe_link = 'https://download.microsoft.com/download/8/4/c/84c6c430-e0f5-476d-bf43-eaaa222a72e0/SQLServer2019-DEV-x64-ENU.exe'
$box_link = 'https://download.microsoft.com/download/8/4/c/84c6c430-e0f5-476d-bf43-eaaa222a72e0/SQLServer2019-DEV-x64-ENU.box'
$update_link = 'https://www.microsoft.com/en-us/download/confirmation.aspx?id=100809'
$update_download_link = [System.Uri]::new((Invoke-WebRequest -Uri $update_link).Links.href | Where-Object {$_ -like 'https://download.microsoft.com/*'})
$update_download_link = [System.Uri]::new(((Invoke-WebRequest -Uri $update_link).Links.href | Where-Object {$_ -like 'https://download.microsoft.com/*'}))
}
'2017' {
$exe_link = 'https://download.microsoft.com/download/E/F/2/EF23C21D-7860-4F05-88CE-39AA114B014B/SQLServer2017-DEV-x64-ENU.exe'
$box_link = 'https://download.microsoft.com/download/E/F/2/EF23C21D-7860-4F05-88CE-39AA114B014B/SQLServer2017-DEV-x64-ENU.box'
$update_link = 'https://www.microsoft.com/en-us/download/confirmation.aspx?id=56128'
$update_download_link = [System.Uri]::new((Invoke-WebRequest -Uri $update_link).Links.href | Where-Object {$_ -like 'https://download.microsoft.com/*'})
$update_download_link = [System.Uri]::new(((Invoke-WebRequest -Uri $update_link).Links.href | Where-Object {$_ -like 'https://download.microsoft.com/*'}))
}
'2016' {
$exe_link = 'https://download.microsoft.com/download/4/1/A/41AD6EDE-9794-44E3-B3D5-A1AF62CD7A6F/sql16_sp2_dlc/en-us/SQLServer2016SP2-FullSlipstream-DEV-x64-ENU.exe'
Expand Down

0 comments on commit aed97a6

Please sign in to comment.