Open XanGrab opened 5 months ago
The tux page confirms that they're currently having technical difficulties: https://www.tuxfamily.org/en/news/2024052400
I haven't personally looked into this, but it's possible that the file name pattern from Godot's Github releases doesn't match their uploaded files to Tuxfamily.org, so finding the exe file from the extracted ZIP isn't working. That'd be my guess.
See the code here: https://github.com/croconut/godot-tester/blob/c0b6cffca6fd87793334bdb9cac050228b43eb74/lib/DownloadGodot/DownloadGodot.js#L42-L57
It expects the extracted ZIP file to contain an executable file that ends in:
.64
or .x86_64
We could resolve this by accepting a custom-dl-url-godot-path
input which would point to the expected path ( relative to the unzip directory )
I started playing around and running the tester on my workstation, but I ran into a roadbump when unzipping the .zip file from the Godot website / github releases
See my fork for the WIP branch: https://github.com/RGonzalezTech/godot-tester/tree/rg/custom-godot-binary
Edit: I haven't tested it in a real github actions environment, but the unit tests are passing 🙃.
You can try updating your github action to use my branch and set the custom inputs. I'll follow up if I end up testing it myself 🤷
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RGonzalezTech/godot-tester@rg/custom-godot-binary
with:
# required
version: "4.2.2"
# custom download
custom-godot-dl-url: "https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip"
custom-godot-binary-path: "Godot_v4.2.2-stable_linux.x86_64"
# etc. etc.
🙏
Edit 2: I ran a super simple test and it worked. 🙏 if it's flexible enough I can make a PR for it to be included into master.
Noticed the following issue two days ago trying to use the actions as normal with a pull request:
I noticed the endpoint at https://downloads.tuxfamily.org/ seems to be down when I try to access it manually, so I attempted to define a custom
custom-godot-dl-url
param to download directly from the godot releases page. Unfortunately I still seem to be noticing weird errors when attempting to download Godot:I have attached my current YAML file as well as the output when testing locally. Is anyone else able to recreate this issue or point out something I might have overlooked?
unit-test.txt output.txt
Thanks in advance!