Files
launcher/.gitea/workflows/legacy.yml
T
SpriteandClaude Sonnet 5.5 5258ac22ad Add the README, screenshots, legacy CI moved to manual, cleanups
Root README for the new layout; legacy/README.md points back. Legacy Gitea and
GitHub workflows run only by hand from legacy/ and the Gitea one does not
publish unless asked. Fix compiler warnings.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-23 01:12:48 +00:00

34 lines
1.2 KiB
YAML

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