Rewrite the launcher in MoonBit (old code moves to legacy/) (#1)
This commit was merged in pull request #1.
This commit is contained in:
1 parent
7d2bf5996f
commit
2fa7bd745b
150 files changed
+8319
-462
No files matched your search
@@ -1,14 +1,17 @@
|
||||
name: Launcher
|
||||
name: Legacy launcher
|
||||
|
||||
# The previous implementations (ultra WebView, Qt) now live in legacy/. The launcher is built
|
||||
# from the repo root (MoonBit, see .gitea/workflows/launcher.yml), so this only runs by hand.
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: legacy
|
||||
|
||||
jobs:
|
||||
web:
|
||||
# Playwright's Chromium has no build for ubuntu-latest (26.04) yet.
|
||||
@@ -24,6 +27,7 @@ jobs:
|
||||
with:
|
||||
cache: false
|
||||
locked: false
|
||||
manifest-path: legacy/pixi.toml
|
||||
# Playwright's browser download hangs while unpacking under pixi's Node 26, so fetch
|
||||
# Chromium with the runner's own Node; the test itself still runs in the pixi env.
|
||||
- uses: actions/setup-node@v5
|
||||
@@ -49,14 +53,14 @@ jobs:
|
||||
java-version: 17
|
||||
- uses: gradle/actions/setup-gradle@v5
|
||||
- name: Build the APK
|
||||
working-directory: android
|
||||
working-directory: legacy/android
|
||||
# The run number only grows, so each build's versionCode is newer than the last
|
||||
# (it restarts if this workflow is renamed; bump past the old numbers then).
|
||||
run: ./gradlew --no-daemon assembleDebug -PversionCode=${{ github.run_number }}
|
||||
- uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: ultra-launcher-apk
|
||||
path: android/app/build/outputs/apk/debug/app-debug.apk
|
||||
path: legacy/android/app/build/outputs/apk/debug/app-debug.apk
|
||||
# Keep a "launcher-latest" prerelease with the newest APK, so a phone can download it directly.
|
||||
- name: Publish the launcher-latest release
|
||||
if: github.event_name != 'pull_request'
|
||||
Reference in new issue
Block a user