@@ -52,30 +52,28 @@ jobs:
52
52
restore-keys : |
53
53
cmake-deps-${{ inputs.preset }}-
54
54
55
- - name : Download VC6 Portable from Cloudflare R2
55
+ - name : Download VC6 Portable from itsmattkc repo
56
56
if : ${{ startsWith(inputs.preset, 'vc6') && steps.cache-vc6.outputs.cache-hit != 'true' }}
57
57
env :
58
- AWS_ACCESS_KEY_ID : ${{ secrets.R2_ACCESS_KEY_ID }}
59
- AWS_SECRET_ACCESS_KEY : ${{ secrets.R2_SECRET_ACCESS_KEY }}
60
- AWS_ENDPOINT_URL : ${{ secrets.R2_ENDPOINT_URL }}
61
- EXPECTED_HASH : " 118D0F1ACBBD70C3F8B081CA4DBAF955FE0C6C359A76636E930AA89FDC551091"
58
+ EXPECTED_HASH : " 5FA2FB0FE61FD0E0FE08DC2C77EA33DF9947A39ED13670DD14B30DA5997F9315"
62
59
shell : pwsh
63
60
run : |
64
61
Write-Host "Downloading VC6 Portable Installation" -ForegroundColor Cyan
65
- aws s3 cp s3 ://github-ci/VS6_VisualStudio6.7z VS6_VisualStudio6.7z --endpoint-url $env:AWS_ENDPOINT_URL
62
+ Invoke-WebRequest -Uri https ://github.com/itsmattkc/MSVC600/archive/refs/heads/master.zip -OutFile VS6_VisualStudio6.zip
66
63
67
64
Write-Host "Verifying File Integrity" -ForegroundColor Cyan
68
- $fileHash = (Get-FileHash -Path VS6_VisualStudio6.7z -Algorithm SHA256).Hash
65
+ $fileHash = (Get-FileHash -Path VS6_VisualStudio6.zip -Algorithm SHA256).Hash
69
66
Write-Host "Downloaded file SHA256: $fileHash"
70
67
Write-Host "Expected file SHA256: $env:EXPECTED_HASH"
71
- if ($hash -ne $env:EXPECTED_HASH) {
68
+ if ($fileHash -ne $env:EXPECTED_HASH) {
72
69
Write-Error "Hash verification failed! File may be corrupted or tampered with."
73
70
exit 1
74
71
}
75
72
76
73
Write-Host "Extracting Archive" -ForegroundColor Cyan
77
- & 7z x VS6_VisualStudio6.7z -oC:\VC6
78
- Remove-Item VS6_VisualStudio6.7z -Verbose
74
+ & Expand-Archive -Path VS6_VisualStudio6.zip -DestinationPath C:\VC6
75
+ Move-Item -Path C:\VC6\MSVC600-master -Destination C:\VC6\VC6SP6
76
+ Remove-Item VS6_VisualStudio6.zip -Verbose
79
77
80
78
- name : Set Up VC6 Environment
81
79
if : startsWith(inputs.preset, 'vc6')
0 commit comments