File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,26 @@ jobs:
1010 hash-files :
1111 runs-on : windows-latest
1212 steps :
13- - name : Hash all eligible files
14- shell : bash
13+ - name : Fetch Simba 2 download URL
14+ shell : powershell
15+ run : |
16+ $url = "https://raw.githubusercontent.com/Villavu/Simba-Build-Archive/refs/heads/main/latest.win64"
17+ $response = Invoke-WebRequest -Uri $url -UseBasicParsing
18+ $baseUrl = $response.Content.Trim() -replace 'Win64\.zip\?raw=true$', ''
19+ Write-Output "Base URL: $baseUrl"
20+ echo "::set-output name=baseUrl::$baseUrl"
21+ New-Item -Path ".\Includes" -ItemType Directory
22+
23+ - name : Download Simba 2.0 (64-bit)
24+ shell : powershell
1525 run : |
16- ls -a
26+ $baseUrl = "${{ steps.simba-url.outputs.baseUrl }}"
27+ $downloadUrl = "$baseUrl" + "Win64.zip?raw=true"
28+ Write-Output "Download URL (64-bit): $downloadUrl"
29+ $outputFile = ".\download.zip"
30+ Invoke-WebRequest -Uri $downloadUrl -OutFile $outputFile
31+ Expand-Archive -Path $outputFile -DestinationPath . -Force
32+ Remove-Item -Path $outputFile -Force
1733
1834 - name : Checkout repository
1935
You can’t perform that action at this time.
0 commit comments