Skip to content

Add a workflow to build and upload F-Droid APKs as a Github artifact#2419

Merged
veloce merged 2 commits intolichess-org:mainfrom
julien4215:fdroid-workflow
Jan 8, 2026
Merged

Add a workflow to build and upload F-Droid APKs as a Github artifact#2419
veloce merged 2 commits intolichess-org:mainfrom
julien4215:fdroid-workflow

Conversation

@julien4215
Copy link
Copy Markdown
Collaborator

I tried to add this workflow on the fdroid branch but it didn't appear in the Github interface so I think we have to add it on the main branch.

This was asked by the F-Droid team (https://gitlab.com/fdroid/fdroiddata/-/merge_requests/29372#note_2927842381) to check if it is easy to have reproducible builds.

@tom-anders
Copy link
Copy Markdown
Collaborator

Hmm that build would include the firebase dependencies though, so I think it wouldn't be helpful for fdroid.

does this do what we want instead? Maybe veloce also has to enable workflow runs for branches other than main somewhere in the repo settings

@tom-anders
Copy link
Copy Markdown
Collaborator

Ahh, apparently workflows on other branches only work if the main branch also has the same workflow (https://stackoverflow.com/questions/67707244/how-to-test-github-workflow-without-merging-into-master-main-branch#comment138662509_77882618), nevermind my other comment then

@julien4215
Copy link
Copy Markdown
Collaborator Author

This workflow uses workflow_dispatch so it is triggered manually. It should be possible to trigger it on tags.

@veloce
Copy link
Copy Markdown
Contributor

veloce commented Dec 3, 2025

What is the goal of this? I mean for f-droid? Because I don't see why we need to upload the f-droid APK to GitHub.

@veloce veloce merged commit c243d2a into lichess-org:main Jan 8, 2026
julien4215 added a commit that referenced this pull request Jan 9, 2026
…2419)

* Add a workflow to build and upload F-Droid APKs as a Github artifact

* Add conditional to run job only on 'fdroid' branch

---------

Co-authored-by: Vincent Velociter <423393+veloce@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants