27 lines
801 B
YAML
27 lines
801 B
YAML
name: Launcher
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
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 }}
|
|
run: bash ci/gitea-apk.sh
|