2023-09-01 13:53:36 +05:30
|
|
|
name: Build for Android
|
2023-09-01 13:52:58 +05:30
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
2023-09-01 13:54:21 +05:30
|
|
|
build:
|
2023-09-01 13:52:58 +05:30
|
|
|
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 13:57:22 +05:30
|
|
|
run: "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y"
|
2023-09-01 13:52:58 +05:30
|
|
|
|
|
|
|
- name: Build routine
|
2023-09-01 13:58:20 +05:30
|
|
|
run: "chmod +x package/android/build.sh && package/android/build.sh"
|
2023-09-01 14:22:37 +05:30
|
|
|
|
2023-09-01 17:02:12 +05:30
|
|
|
- name: Create release
|
|
|
|
uses: "marvinpinto/action-automatic-releases@latest"
|
2023-09-01 14:22:37 +05:30
|
|
|
with:
|
2023-09-01 17:02:12 +05:30
|
|
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
2023-09-01 19:11:56 +05:30
|
|
|
automatic_release_tag: "${{ vars.LUNE_VERSION }}"
|
2023-09-01 17:02:12 +05:30
|
|
|
draft: true
|
2023-09-01 19:11:56 +05:30
|
|
|
title: "Lune ${{ vars.LUNE_VERSION }} (Android)"
|
2023-09-01 17:02:12 +05:30
|
|
|
files: |
|
|
|
|
lune-src/lune-*.zip
|
2023-09-01 13:52:58 +05:30
|
|
|
|