Gitea Act Runner ubuntu image is missing ANDROID SDK for GitHub workflows #29635
Labels
topic/gitea-actions
related to the actions of Gitea
type/docs
This PR mainly updates/creates documentation
Description
I've been busy/lazy since my last issue (#28847). I discovered the issue on 2024-01-16 (yyyy-mm-dd).
when mirroring the gh repo https://github.com/mihonapp/mihon and enabling actions that run on every new commit, the job fails on gitea even though it succeeds on github
error:
SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable'.
tldr; turns out github's ubuntu image has the Android SDK preinstalled, while Gitea's image doesn't have it
gitea would (probably) need
uses: android-actions/setup-android@v2
to be added in the workflow config files for it to work without it preinstalled.relevant section in workflow files:
If I should try to repro it on the demo site, please tell me.
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Docker
How are you running Gitea?
gitea: docker
gitea/gitea:1.21.3
runner: docker
gitea/act_runner:nightly
(2024-01-16/yyyy-mm-dd)Database
None
The text was updated successfully, but these errors were encountered: