Rewrite the launcher in MoonBit (old code moves to legacy/) (#1)
Launcher / test (push) Successful in 1m20s
Launcher / apk (push) Successful in 37s

This commit was merged in pull request #1.
This commit is contained in:
nandi committed 2026-11-23 01:57:10 +00:00
1 parent 7d2bf5996f
commit 2fa7bd745b
150 files changed
+8319 -462

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
name: Legacy launcher (Qt)
# The Qt build now lives in legacy/. The launcher is built from the repo root (MoonBit, see
# launcher.yml), so this runs only by hand, and does not publish a release unless asked: its
# releases (build-<minutes>) would otherwise compete with the MoonBit build's for "latest".
on:
workflow_dispatch:
inputs:
publish:
description: Publish the APK as a release
default: "false"
jobs:
apk:
runs-on: ubuntu-latest
timeout-minutes: 60
container: eclipse-temurin:17-jdk-noble
steps:
- name: Checkout
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
apt-get update -qq
apt-get install -y -qq --no-install-recommends git ca-certificates >/dev/null
git init -q
git -c http.extraHeader="Authorization: Basic $(printf 'x-access-token:%s' "$GITHUB_TOKEN" | base64 -w0)" \
fetch -q --depth 1 "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" "${GITHUB_SHA}"
git checkout -q --detach FETCH_HEAD
- name: Test, build and release the Qt APK
env:
GITEA_TOKEN: ${{ github.token }}
LEGACY_PUBLISH: ${{ inputs.publish }}
run: bash legacy/ci/gitea-apk.sh