Skip to content

Commit 042c49e

Browse files
committed
Update hash-files.yml
1 parent 4033af1 commit 042c49e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/hash-files.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update Items
1+
name: Update Files
22

33
on:
44
push:
@@ -12,9 +12,8 @@ jobs:
1212
- name: Fetch Simba 2 download URL
1313
shell: powershell
1414
run: |
15-
$url = "https://raw.githubusercontent.com/Villavu/Simba-Build-Archive/refs/heads/main/latest.win64"
16-
$rawUrl = Invoke-WebRequest -Uri $url -UseBasicParsing | Select-Object -ExpandProperty Content
17-
$downloadUrl = $rawUrl.Trim()
15+
$url = "https://raw.githubusercontent.com/Villavu/Simba-Build-Archive/main/latest.win64"
16+
$downloadUrl = (Invoke-WebRequest -Uri $url -UseBasicParsing).Content.Trim()
1817
echo "downloadUrl=$downloadUrl" >> $env:GITHUB_OUTPUT
1918
New-Item -Path ".\Includes" -ItemType Directory -Force
2019
@@ -26,7 +25,7 @@ jobs:
2625
Invoke-WebRequest -Uri $downloadUrl -OutFile "download.zip"
2726
Expand-Archive -Path "download.zip" -DestinationPath . -Force
2827
Remove-Item "download.zip" -Force
29-
28+
3029
- name: Checkout repository
3130
uses: actions/checkout@v4.2.2
3231
with:

0 commit comments

Comments
 (0)