update workflow

This commit is contained in:
Nitwel 2023-11-20 12:42:34 +01:00
parent 76dc44e080
commit 45afcb21f7

View File

@ -7,13 +7,14 @@ on:
- testing - testing
env: env:
GODOT_VERSION: 4.1.3-stable
EXPORT_NAME: immersive-home EXPORT_NAME: immersive-home
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: container:
image: barichello/godot-ci:4.1.3 image: barichello/godot-ci:$GODOT_VERSION
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -22,9 +23,9 @@ jobs:
- name: Android Export - name: Android Export
run: | run: |
mkdir -v -p build/android mkdir -v -p build/android
godot -v --export-debug --headless "Android" /build/android/${EXPORT_NAME}-debug.apk godot -v --export-debug --headless "Android" /build/android/$EXPORT_NAME-debug.apk
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
name: ${EXPORT_NAME}-debug name: $EXPORT_NAME-debug
path: build/android/${EXPORT_NAME}-debug.apk path: build/android/$EXPORT_NAME-debug.apk