mirror of
https://github.com/openjdk/jdk8u.git
synced 2025-12-10 10:44:16 -06:00
8333669: [8u] GHA: Dead VS2010 download link
Reviewed-by: sgehwolf
This commit is contained in:
parent
663ecc703d
commit
9a7aa79450
9
.github/workflows/submit.yml
vendored
9
.github/workflows/submit.yml
vendored
@ -867,6 +867,8 @@ jobs:
|
||||
VS2010_DIR: "${{ fromJson(needs.prerequisites.outputs.dependencies).VS2010_DIR }}"
|
||||
VS2010_FILENAME: "${{ fromJson(needs.prerequisites.outputs.dependencies).VS2010_FILENAME }}"
|
||||
VS2010_URL: "${{ fromJson(needs.prerequisites.outputs.dependencies).VS2010_URL }}"
|
||||
VS2010_TORRENT_URL: "${{ fromJson(needs.prerequisites.outputs.dependencies).VS2010_TORRENT_URL }}"
|
||||
VS2010_TORRENT_DIR: "${{ fromJson(needs.prerequisites.outputs.dependencies).VS2010_TORRENT_DIR }}"
|
||||
VS2010_SHA256: "${{ fromJson(needs.prerequisites.outputs.dependencies).VS2010_SHA256 }}"
|
||||
|
||||
steps:
|
||||
@ -933,10 +935,11 @@ jobs:
|
||||
- name: Download and unpack Visual Studio 2010
|
||||
run: |
|
||||
mkdir "$HOME\$env:VS2010_DIR"
|
||||
& curl -L "$env:VS2010_URL" -o "$HOME/$env:VS2010_FILENAME"
|
||||
$FileHash = Get-FileHash -Algorithm SHA256 "$HOME/$env:VS2010_FILENAME"
|
||||
$ImagePath = "$HOME/$env:VS2010_TORRENT_DIR/$env:VS2010_FILENAME"
|
||||
& aria2c -d "$HOME" --seed-time=0 --bt-stop-timeout=300 "$env:VS2010_TORRENT_URL" || & curl -L "$env:VS2010_URL" -o "$ImagePath" --create-dirs
|
||||
$FileHash = Get-FileHash -Algorithm SHA256 "$ImagePath"
|
||||
$FileHash.Hash -eq $env:VS2010_SHA256
|
||||
& 7z x -o"$HOME/$env:VS2010_DIR" "$HOME/$env:VS2010_FILENAME"
|
||||
& 7z x -o"$HOME/$env:VS2010_DIR" "$ImagePath"
|
||||
& dir "$HOME/$env:VS2010_DIR"
|
||||
if: steps.vs2010.outputs.cache-hit != 'true'
|
||||
|
||||
|
||||
@ -31,7 +31,9 @@ JTREG_BUILD=b01
|
||||
|
||||
VS2010_FILENAME=VS2010Express1.iso
|
||||
VS2010_DIR=VS2010Express1
|
||||
VS2010_URL=https://debian.fmi.uni-sofia.bg/~aangelov/VS2010Express1.iso
|
||||
VS2010_URL=https://archive.org/download/vs-2010-express-1/VS2010Express1.iso
|
||||
VS2010_TORRENT_URL=https://archive.org/download/vs-2010-express-1/vs-2010-express-1_archive.torrent
|
||||
VS2010_TORRENT_DIR=vs-2010-express-1
|
||||
VS2010_SHA256=a9d5dcdf55e539a06547a8ebbc63d55dc167113e09ee9e42096ab9098313039b
|
||||
|
||||
VS2017_FILENAME=vs2017.exe
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user