switch to different workflow action
This commit is contained in:
parent
7b5abeee77
commit
29a8e504d3
46
.github/workflows/build-debug.yml
vendored
46
.github/workflows/build-debug.yml
vendored
|
@ -11,31 +11,33 @@ env:
|
|||
EXPORT_NAME: immersive-home
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
container:
|
||||
image: barichello/godot-ci:4.1.3
|
||||
# job id, can be anything
|
||||
export_game:
|
||||
# Always use ubuntu-latest for this action
|
||||
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:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
# Always include the checkout step so that
|
||||
# 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:
|
||||
lfs: true
|
||||
- name: Setup
|
||||
run: |
|
||||
mkdir -v -p ~/.local/share/godot/export_templates
|
||||
mv /root/.local/share/godot/export_templates/4.1.3.stable ~/.local/share/godot/export_templates/4.1.3.stable
|
||||
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
|
||||
# Defining all the required inputs
|
||||
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_linux.x86_64.zip
|
||||
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_export_templates.tpz
|
||||
relative_project_path: ./
|
||||
archive_output: true
|
||||
|
||||
- name: Upload APK
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: immersive-home-debug
|
||||
path: /build/android/immersive-home.apk
|
||||
path: ${{ steps.export.outputs.archive_directory }}
|
||||
|
|
|
@ -8,7 +8,7 @@ custom_features=""
|
|||
export_filter="all_resources"
|
||||
include_filter="*.j2"
|
||||
exclude_filter=""
|
||||
export_path=""
|
||||
export_path="builds/android/immersive-home.apk"
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
encrypt_pck=false
|
||||
|
|
Loading…
Reference in New Issue
Block a user