Skip to content

Commit 2acb73e

Browse files
committed
testing things
1 parent 8c891cc commit 2acb73e

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/hash-files.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,10 @@ jobs:
1010
hash-files:
1111
runs-on: windows-latest
1212
steps:
13-
- name: Fetch Simba 2 download URL
14-
run: |
15-
$url = "https://raw.githubusercontent.com/Villavu/Simba-Build-Archive/refs/heads/main/latest.win64"
16-
$response = Invoke-WebRequest -Uri $url -UseBasicParsing
17-
$baseUrl = $response.Content.Trim() -replace 'Win64\.zip\?raw=true$', ''
18-
Write-Output "Base URL: $baseUrl"
19-
echo "::set-output name=baseUrl::$baseUrl"
20-
New-Item -Path ".\Includes" -ItemType Directory
21-
22-
- name: Download Simba 2.0 (64-bit)
13+
- name: Hash all eligible files
14+
shell: bash
2315
run: |
24-
$baseUrl = "${{ steps.simba-url.outputs.baseUrl }}"
25-
$downloadUrl = "$baseUrl" + "Win64.zip?raw=true"
26-
Write-Output "Download URL (64-bit): $downloadUrl"
27-
$outputFile = ".\download.zip"
28-
Invoke-WebRequest -Uri $downloadUrl -OutFile $outputFile
29-
Expand-Archive -Path $outputFile -DestinationPath . -Force
30-
Remove-Item -Path $outputFile -Force
16+
ls -a
3117
3218
- name: Checkout repository
3319
uses: actions/[email protected]
@@ -37,7 +23,6 @@ jobs:
3723
- name: Hash all eligible files
3824
shell: bash
3925
run: |
40-
ls -a
4126
./Simba-Win64.exe --extractopenssl --run ./wasp-data/tools/hash-files.simba
4227
4328
- name: Commit hash files

0 commit comments

Comments
 (0)