switch to different workflow action

This commit is contained in:
Nitwel 2023-11-20 15:10:15 +01:00
parent 7b5abeee77
commit 29a8e504d3
2 changed files with 25 additions and 23 deletions

View File

@ -11,31 +11,33 @@ env:
EXPORT_NAME: immersive-home EXPORT_NAME: immersive-home
jobs: jobs:
build: # job id, can be anything
runs-on: ubuntu-20.04 export_game:
container: # Always use ubuntu-latest for this action
image: barichello/godot-ci:4.1.3 runs-on: ubuntu-latest
# Add permission for release creation. Can be made narrower according to your needs
permissions: write-all
# Job name, can be anything
name: Export Game
steps: steps:
- name: Checkout # Always include the checkout step so that
uses: actions/checkout@v2 # your project is available for Godot to export
- name: checkout
uses: actions/checkout@v3.3.0
- name: export game
id: export
# Use latest version (see releases for all versions)
uses: firebelley/godot-export@v5.2.1
with: with:
lfs: true # Defining all the required inputs
- name: Setup godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_linux.x86_64.zip
run: | godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_export_templates.tpz
mkdir -v -p ~/.local/share/godot/export_templates relative_project_path: ./
mv /root/.local/share/godot/export_templates/4.1.3.stable ~/.local/share/godot/export_templates/4.1.3.stable archive_output: true
ls -l ~/.local/share/godot/export_templates/4.1.3.stable
mkdir -v -p ~/.android
mv /root/debug.keystore ~/.android/debug.keystore
ls -l ~/.android
- name: Android Export
run: |
mkdir -v -p /build/android
ls -l /root/
godot -v --export-debug --debug-collisions --headless "Android" /build/android/immersive-home.apk
ls -l /build/android
- name: Upload APK - name: Upload APK
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: immersive-home-debug name: immersive-home-debug
path: /build/android/immersive-home.apk path: ${{ steps.export.outputs.archive_directory }}

View File

@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="*.j2" include_filter="*.j2"
exclude_filter="" exclude_filter=""
export_path="" export_path="builds/android/immersive-home.apk"
encryption_include_filters="" encryption_include_filters=""
encryption_exclude_filters="" encryption_exclude_filters=""
encrypt_pck=false encrypt_pck=false