2023-09-01 09:23:36 +01:00
|
|
|
name: Build for Android
|
2023-09-01 09:22:58 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 0 * * *'
|
|
|
|
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
|
|
|
|
|
|
|
- name: Create build artifacts
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
|
|
|
path: lune-src/build/lune-*.zip
|
2023-09-01 09:22:58 +01:00
|
|
|
|