2023-09-01 09:23:36 +01:00
|
|
|
name: Build for Android
|
2023-09-01 09:22:58 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2023-09-01 09:24:21 +01:00
|
|
|
build:
|
2023-09-01 09:22:58 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
|
|
|
fetch-tags: true
|
|
|
|
|
|
|
|
- name: Install rustup
|
2023-09-01 09:27:22 +01:00
|
|
|
run: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"
|
2023-09-01 09:22:58 +01:00
|
|
|
|
|
|
|
- name: Build routine
|
2023-09-01 09:28:20 +01:00
|
|
|
run: "chmod +x package/android/build.sh && package/android/build.sh"
|
2023-09-01 09:52:37 +01:00
|
|
|
|
2023-09-01 12:32:12 +01:00
|
|
|
- name: Create release
|
|
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
2023-09-01 09:52:37 +01:00
|
|
|
with:
|
2023-09-01 12:32:12 +01:00
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
2023-09-01 14:41:56 +01:00
|
|
|
automatic_release_tag: "${{ vars.LUNE_VERSION }}"
|
2023-09-01 12:32:12 +01:00
|
|
|
draft: true
|
2023-09-01 14:41:56 +01:00
|
|
|
title: "Lune ${{ vars.LUNE_VERSION }} (Android)"
|
2023-09-01 12:32:12 +01:00
|
|
|
files: |
|
|
|
|
lune-src/lune-*.zip
|
2023-09-01 09:22:58 +01:00
|
|
|
|