Skip to content

Commit

Permalink
Export Android APK in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
o01eg committed Dec 23, 2024
1 parent 2fdfd33 commit 3a6469f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/_build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,43 @@ jobs:
path: godot/bin/
if-no-files-found: error
retention-days: 1
export-android:
name: Export Android
runs-on: ubuntu-latest
needs: android
container:
image: ghcr.io/bend-n/godot:3.5.2
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Setup
uses: bend-n/godot-actions/.github/actions/setup-godot@main
env:
GODOT_VERSION: 3.5.2
- name: Download python library
id: download-python-lib
uses: suisei-cn/[email protected]
with:
url: https://github.com/freeorion/freeorion-sdk/releases/download/v13/python39.zip
target: ../
- name: Place resources
run: |
mkdir -p godot/default/python/lib/
cp ../${{ steps.download-python-lib.outputs.filename }} godot/default/python/lib/python39.zip
unzip -t godot/default/python/lib/python39.zip
mv default/data/art godot/assets/
mv default/data/fonts godot/assets/
mv default/data/sound godot/assets/
mv default/scripting godot/default/
mv default/stringtables godot/default/
- name: Dowload binaries
uses: actions/download-artifact@v3
with:
name: android-binaries
path: godot/bin/
- name: Build
uses: bend-n/godot-actions/.github/actions/export-android@main
env:
GODOT_VERSION: 3.5.2
NAME: freeorion
PROJECT_PATH: godot

0 comments on commit 3a6469f

Please sign in to comment.