immersive-home/.github/workflows/build-debug.yml

34 lines
759 B
YAML
Raw Normal View History

2023-11-20 13:32:42 +02:00
# Build the Android APK on push to the master branch
name: Build APK
on:
push:
branches:
- main
2023-11-20 13:35:22 +02:00
- testing
2023-11-20 13:32:42 +02:00
env:
2023-11-20 13:47:24 +02:00
GODOT_VERSION: 4.1.3
2023-11-20 13:32:42 +02:00
EXPORT_NAME: immersive-home
jobs:
build:
runs-on: ubuntu-20.04
container:
2023-11-20 13:47:24 +02:00
image: barichello/godot-ci:4.1.3
2023-11-20 13:32:42 +02:00
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Android Export
run: |
2023-11-20 14:27:25 +02:00
mkdir -v -p /build/android
godot -v --export-debug --headless "Android" /build/android/immersive-home.apk
ls -l .
ls -l /build
2023-11-20 13:32:42 +02:00
- name: Upload APK
2023-11-20 14:27:25 +02:00
uses: actions/upload-artifact@v2
2023-11-20 13:32:42 +02:00
with:
2023-11-20 13:49:29 +02:00
name: immersive-home-debug
2023-11-20 14:27:25 +02:00
path: /build/android/immersive-home.apk