Skip to content

Commit

Permalink
4
Browse files Browse the repository at this point in the history
  • Loading branch information
sonygod committed Oct 9, 2024
1 parent 6e25aa0 commit 44369f3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ jobs:
- name: Download Haxe 4.3.6
shell: powershell
run: |
Invoke-WebRequest -Uri "https://haxe.org/download/file/4.3.6/haxe-4.3.6-win64.exe" -OutFile "haxe-install.exe"
$haxeUrl = "https://haxe.org/download/file/4.3.6/haxe-4.3.6-win64.exe"
$response = Invoke-WebRequest -Uri $haxeUrl -MaximumRedirection 0 -ErrorAction SilentlyContinue
$finalUrl = $response.Headers.Location
Invoke-WebRequest -Uri $finalUrl -OutFile "haxe-install.exe"
- name: Install Haxe 4.3.6
shell: powershell
run: |
Expand Down

0 comments on commit 44369f3

Please sign in to comment.