lune-packaging/.github/workflows/android.yaml

33 lines
852 B
YAML

name: Build for Android
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
fetch-tags: true
- name: Install rustup
run: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"
- name: Build routine
run: "chmod +x package/android/build.sh && package/android/build.sh"
- name: Create release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ vars.LUNE_VERSION }}"
draft: true
title: "Lune ${{ vars.LUNE_VERSION }} (Android)"
files: |
lune-src/lune-*.zip