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-) 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