From 3b86a16bc9d7983e22fb3de5c0743c54f5a2104f Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:34:59 +0100 Subject: [PATCH 01/37] update workflow --- .github/workflows/build-debug.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index c93fdbf..e83172d 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -6,14 +6,13 @@ on: - main env: - GODOT_VERSION: 4.1.3-stable EXPORT_NAME: immersive-home jobs: build: runs-on: ubuntu-20.04 container: - image: barichello/godot-ci:${GODOT_VERSION} + image: barichello/godot-ci:4.1.3 steps: - name: Checkout uses: actions/checkout@v2 From 76dc44e0803b0a7f4d5df9ad1e2fbe1e1b0b54ff Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:35:22 +0100 Subject: [PATCH 02/37] update workflows --- .github/workflows/build-debug.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index e83172d..df7a0fa 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - testing env: EXPORT_NAME: immersive-home From 45afcb21f7e7fcb505e84576533895a4afc1ac16 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:42:34 +0100 Subject: [PATCH 03/37] update workflow --- .github/workflows/build-debug.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index df7a0fa..07abe92 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -7,13 +7,14 @@ on: - testing env: + GODOT_VERSION: 4.1.3-stable EXPORT_NAME: immersive-home jobs: build: runs-on: ubuntu-20.04 container: - image: barichello/godot-ci:4.1.3 + image: barichello/godot-ci:$GODOT_VERSION steps: - name: Checkout uses: actions/checkout@v2 @@ -22,9 +23,9 @@ jobs: - name: Android Export run: | 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 uses: actions/upload-artifact@v1 with: - name: ${EXPORT_NAME}-debug - path: build/android/${EXPORT_NAME}-debug.apk + name: $EXPORT_NAME-debug + path: build/android/$EXPORT_NAME-debug.apk From 2f4059b9ef674f76d71904918b7416f64cc73468 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:44:40 +0100 Subject: [PATCH 04/37] update workflow --- .github/workflows/build-debug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 07abe92..3899aa9 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -7,7 +7,7 @@ on: - testing env: - GODOT_VERSION: 4.1.3-stable + GODOT_VERSION: 4.1.3 EXPORT_NAME: immersive-home jobs: From d6a7a97e2862686c1b166916e7a45e975d6e26bf Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:46:25 +0100 Subject: [PATCH 05/37] update workflow --- .github/workflows/build-debug.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 3899aa9..8757fb0 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -7,14 +7,14 @@ on: - testing env: - GODOT_VERSION: 4.1.3 + GODOT_VERSION: 4.1.3-stable EXPORT_NAME: immersive-home jobs: build: runs-on: ubuntu-20.04 container: - image: barichello/godot-ci:$GODOT_VERSION + image: barichello/godot-ci:4.1.3-stable steps: - name: Checkout uses: actions/checkout@v2 From a109f10e0c9a0ac06e2651ea61aad541816c980f Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:47:24 +0100 Subject: [PATCH 06/37] update workflow --- .github/workflows/build-debug.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 8757fb0..aba315a 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -7,14 +7,14 @@ on: - testing env: - GODOT_VERSION: 4.1.3-stable + GODOT_VERSION: 4.1.3 EXPORT_NAME: immersive-home jobs: build: runs-on: ubuntu-20.04 container: - image: barichello/godot-ci:4.1.3-stable + image: barichello/godot-ci:4.1.3 steps: - name: Checkout uses: actions/checkout@v2 From 2fe637a349504ba395f8a2d01bc737ddac03e173 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:49:29 +0100 Subject: [PATCH 07/37] update workflow --- .github/workflows/build-debug.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index aba315a..f5ee283 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -23,9 +23,9 @@ jobs: - name: Android Export run: | 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/immersive-home.apk - name: Upload APK uses: actions/upload-artifact@v1 with: - name: $EXPORT_NAME-debug - path: build/android/$EXPORT_NAME-debug.apk + name: immersive-home-debug + path: build/android/immersive-home-debug.apk From 35299a3eb2c8c515c2400e9fdebe4d6d3ceaf0d1 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:53:40 +0100 Subject: [PATCH 08/37] update workflow --- .github/workflows/build-debug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index f5ee283..a42eaf6 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -28,4 +28,4 @@ jobs: uses: actions/upload-artifact@v1 with: name: immersive-home-debug - path: build/android/immersive-home-debug.apk + path: build/ From 201332a1cec63c14a701d7b50c6a3589d8a7a101 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 12:59:25 +0100 Subject: [PATCH 09/37] update workflow --- .github/workflows/build-debug.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index a42eaf6..aa3a187 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -24,6 +24,9 @@ jobs: run: | mkdir -v -p build/android godot -v --export-debug --headless "Android" /build/android/immersive-home.apk + - name: Show File Tree + run: | + tree -a -L 3 - name: Upload APK uses: actions/upload-artifact@v1 with: From a2b774e6ac0e0b3659015c44599537724b8d1f29 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 13:01:45 +0100 Subject: [PATCH 10/37] update workflow --- .github/workflows/build-debug.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index aa3a187..780ed1f 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -26,6 +26,7 @@ jobs: godot -v --export-debug --headless "Android" /build/android/immersive-home.apk - name: Show File Tree run: | + sudo apt-get install tree tree -a -L 3 - name: Upload APK uses: actions/upload-artifact@v1 From 1db99639b8c63c209feb288e8fd8a9a87bf9a74c Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 13:02:06 +0100 Subject: [PATCH 11/37] update workflow --- .github/workflows/build-debug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 780ed1f..26da6c9 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -32,4 +32,4 @@ jobs: uses: actions/upload-artifact@v1 with: name: immersive-home-debug - path: build/ + path: . From 0495990a37aa02329516d2ce064da82e9d9ad39b Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 13:04:10 +0100 Subject: [PATCH 12/37] update workflow --- .github/workflows/build-debug.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 26da6c9..654a3d0 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -24,12 +24,8 @@ jobs: run: | mkdir -v -p build/android godot -v --export-debug --headless "Android" /build/android/immersive-home.apk - - name: Show File Tree - run: | - sudo apt-get install tree - tree -a -L 3 - name: Upload APK uses: actions/upload-artifact@v1 with: name: immersive-home-debug - path: . + path: ./ From f9fae8272edbf3398f01896f2db0cba1c28e64e3 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 13:08:35 +0100 Subject: [PATCH 13/37] update workflow --- .github/workflows/build-debug.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 654a3d0..d225a2e 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -22,10 +22,10 @@ jobs: lfs: true - name: Android Export run: | - mkdir -v -p build/android - godot -v --export-debug --headless "Android" /build/android/immersive-home.apk + mkdir -v -p ./build/android + godot -v --export-debug --headless "Android" ./build/android/immersive-home.apk - name: Upload APK uses: actions/upload-artifact@v1 with: name: immersive-home-debug - path: ./ + path: ./build From 4e26bcefc476d4429fd3ccead2b670424567ad0b Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 13:27:25 +0100 Subject: [PATCH 14/37] update workflows --- .github/workflows/build-debug.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index d225a2e..6a93b7c 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -22,10 +22,12 @@ jobs: lfs: true - name: Android Export run: | - mkdir -v -p ./build/android - godot -v --export-debug --headless "Android" ./build/android/immersive-home.apk + mkdir -v -p /build/android + godot -v --export-debug --headless "Android" /build/android/immersive-home.apk + ls -l . + ls -l /build - name: Upload APK - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: immersive-home-debug - path: ./build + path: /build/android/immersive-home.apk From 206a6fcb473558edb93368a91ad958b8b1210917 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 13:39:05 +0100 Subject: [PATCH 15/37] update workflow --- .github/workflows/build-debug.yml | 2 +- export_presets.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 6a93b7c..b6df0df 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -25,7 +25,7 @@ jobs: mkdir -v -p /build/android godot -v --export-debug --headless "Android" /build/android/immersive-home.apk ls -l . - ls -l /build + ls -l /build/android - name: Upload APK uses: actions/upload-artifact@v2 with: diff --git a/export_presets.cfg b/export_presets.cfg index d1af9f8..d072321 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -1,6 +1,6 @@ [preset.0] -name="Andorid" +name="Android" platform="Android" runnable=true dedicated_server=false From fed86eb426078e1eaa162e4fea0500b05c1ac2eb Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 13:58:05 +0100 Subject: [PATCH 16/37] update workflow --- .github/workflows/build-debug.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index b6df0df..f6c96c9 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -20,10 +20,14 @@ jobs: uses: actions/checkout@v2 with: lfs: true + - name: Setup + run: | + mkdir -v -p ~/.local/share/godot/templates + mv /root/.local/share/godot/templates/4.1.3.stable ~/.local/share/godot/templates/4.1.3.stable - name: Android Export run: | mkdir -v -p /build/android - godot -v --export-debug --headless "Android" /build/android/immersive-home.apk + godot -v --export-debug --debug-collisions --headless "Android" /build/android/immersive-home.apk ls -l . ls -l /build/android - name: Upload APK From b9547e35195a65fdc5a311a9979a1665554e285b Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 14:02:31 +0100 Subject: [PATCH 17/37] update workflow --- .github/workflows/build-debug.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index f6c96c9..7fb5502 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -24,6 +24,7 @@ jobs: run: | mkdir -v -p ~/.local/share/godot/templates mv /root/.local/share/godot/templates/4.1.3.stable ~/.local/share/godot/templates/4.1.3.stable + ls -l ~/.local/share/godot/templates - name: Android Export run: | mkdir -v -p /build/android From d376d7cb545c13b52c481d62a734a0e48dc64772 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 14:04:17 +0100 Subject: [PATCH 18/37] update workflow --- .github/workflows/build-debug.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 7fb5502..76925f7 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -25,6 +25,7 @@ jobs: mkdir -v -p ~/.local/share/godot/templates mv /root/.local/share/godot/templates/4.1.3.stable ~/.local/share/godot/templates/4.1.3.stable ls -l ~/.local/share/godot/templates + ls -l ~/.local/share/godot/templates/4.1.3.stable - name: Android Export run: | mkdir -v -p /build/android From 95993d7c63cd6644ef3740286b6d2b1396e92e29 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 14:07:59 +0100 Subject: [PATCH 19/37] fix workflows --- .github/workflows/build-debug.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 76925f7..2e420b9 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -22,10 +22,10 @@ jobs: lfs: true - name: Setup run: | - mkdir -v -p ~/.local/share/godot/templates - mv /root/.local/share/godot/templates/4.1.3.stable ~/.local/share/godot/templates/4.1.3.stable - ls -l ~/.local/share/godot/templates - ls -l ~/.local/share/godot/templates/4.1.3.stable + 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 + ls -l ~/.local/share/godot/export_templates/4.1.3.stable - name: Android Export run: | mkdir -v -p /build/android From 7b5abeee77b49edea035e75b840dc458a0a0e5d9 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 14:37:35 +0100 Subject: [PATCH 20/37] update workflow --- .github/workflows/build-debug.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 2e420b9..41365a4 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -24,13 +24,15 @@ jobs: 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 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 . ls -l /build/android - name: Upload APK uses: actions/upload-artifact@v2 From 29a8e504d39ebf651088c1561b4bd52380a4fa23 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 15:10:15 +0100 Subject: [PATCH 21/37] switch to different workflow action --- .github/workflows/build-debug.yml | 46 ++++++++++++++++--------------- export_presets.cfg | 2 +- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 41365a4..ac55e92 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -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 }} diff --git a/export_presets.cfg b/export_presets.cfg index d072321..db9013a 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -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 From ce49cf328071e8b9ae46f0a1099735724f5968a6 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 15:18:43 +0100 Subject: [PATCH 22/37] update workflow --- .github/workflows/build-debug.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index ac55e92..079430f 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -25,6 +25,15 @@ jobs: - name: checkout uses: actions/checkout@v3.3.0 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: "17" + distribution: "temurin" + + - name: Setup Android SDK + uses: android-actions/setup-android@v3 + - name: export game id: export # Use latest version (see releases for all versions) From 97acec64009a057fba21fd72592617eda8afbcb3 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 15:31:08 +0100 Subject: [PATCH 23/37] update workflow --- .github/workflows/build-debug.yml | 10 ++++++++++ android/editor_settings-4.tres | 3 +++ 2 files changed, 13 insertions(+) create mode 100644 android/editor_settings-4.tres diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 079430f..28e5a29 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -34,6 +34,15 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + - name: Setup Android Export + run: | + mkdir -p ~/.android + keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 + mv debug.keystore ~/.android/debug.keystore + + mkdir -p ~/.config/godot + cp ./android/editor_settings-4.tres ~/.config/godot/ + - name: export game id: export # Use latest version (see releases for all versions) @@ -42,6 +51,7 @@ jobs: # 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 + export_debug: true relative_project_path: ./ archive_output: true diff --git a/android/editor_settings-4.tres b/android/editor_settings-4.tres new file mode 100644 index 0000000..809d366 --- /dev/null +++ b/android/editor_settings-4.tres @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec44a5d620459eb59ed04d79f324e288c428a5e4b73817464aa2d0c383a6d68d +size 287 From 38d772cb9f0698d702b744dce271bf2b3108b01a Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 15:44:59 +0100 Subject: [PATCH 24/37] update workflow --- .github/workflows/build-debug.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 28e5a29..84c6023 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -38,10 +38,16 @@ jobs: run: | mkdir -p ~/.android keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 - mv debug.keystore ~/.android/debug.keystore + mv -v debug.keystore ~/.android/debug.keystore mkdir -p ~/.config/godot - cp ./android/editor_settings-4.tres ~/.config/godot/ + cp -v ./android/editor_settings-4.tres ~/.config/godot/ + + touch ./android/build/.gdignore + + - name: Import Assets + run: | + godot -v -e --quit --headless - name: export game id: export From 0052b0f90e906dabb5b6c620948156d3dd34f5c6 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 15:48:09 +0100 Subject: [PATCH 25/37] update workflow --- .github/workflows/build-debug.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 84c6023..9d9018f 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -43,6 +43,7 @@ jobs: mkdir -p ~/.config/godot cp -v ./android/editor_settings-4.tres ~/.config/godot/ + mkdir -p ./android/build touch ./android/build/.gdignore - name: Import Assets From 03a98148043d6ceed68f05ec003d395f2eca0595 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 15:50:11 +0100 Subject: [PATCH 26/37] update workflow --- .github/workflows/build-debug.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 9d9018f..6af2b94 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -46,10 +46,6 @@ jobs: mkdir -p ./android/build touch ./android/build/.gdignore - - name: Import Assets - run: | - godot -v -e --quit --headless - - name: export game id: export # Use latest version (see releases for all versions) From f0a21a4215e5c1c42909897f9548c68a70b454f7 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 15:59:02 +0100 Subject: [PATCH 27/37] update workflow --- .github/workflows/build-debug.yml | 5 +++-- android/editor_settings-4.tres | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 6af2b94..20e4a07 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -36,9 +36,8 @@ jobs: - name: Setup Android Export run: | - mkdir -p ~/.android keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 - mv -v debug.keystore ~/.android/debug.keystore + mv -v debug.keystore /usr/bin/debug.keystore mkdir -p ~/.config/godot cp -v ./android/editor_settings-4.tres ~/.config/godot/ @@ -46,6 +45,8 @@ jobs: mkdir -p ./android/build touch ./android/build/.gdignore + cat ~/.config/godot/editor_settings-4.tres + - name: export game id: export # Use latest version (see releases for all versions) diff --git a/android/editor_settings-4.tres b/android/editor_settings-4.tres index 809d366..726d735 100644 --- a/android/editor_settings-4.tres +++ b/android/editor_settings-4.tres @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ec44a5d620459eb59ed04d79f324e288c428a5e4b73817464aa2d0c383a6d68d -size 287 +oid sha256:9512b1e8cc63087b493b1fdd29403a6da80d9815f014b85a45ab9deca4706086 +size 285 From 8753203adb325dbf858a25b86beb846536d922a3 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 16:03:41 +0100 Subject: [PATCH 28/37] update workflow --- .github/workflows/build-debug.yml | 7 ++++++- android/editor_settings-4.tres | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 20e4a07..ff7255e 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -36,8 +36,9 @@ jobs: - name: Setup Android Export run: | + mkdir -p ~/.android keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 - mv -v debug.keystore /usr/bin/debug.keystore + mv -v debug.keystore ~/.android/debug.keystore mkdir -p ~/.config/godot cp -v ./android/editor_settings-4.tres ~/.config/godot/ @@ -59,6 +60,10 @@ jobs: relative_project_path: ./ archive_output: true + - name: Test + run: | + cat ~/.config/godot/editor_settings-4.tres + - name: Upload APK uses: actions/upload-artifact@v2 with: diff --git a/android/editor_settings-4.tres b/android/editor_settings-4.tres index 726d735..809d366 100644 --- a/android/editor_settings-4.tres +++ b/android/editor_settings-4.tres @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9512b1e8cc63087b493b1fdd29403a6da80d9815f014b85a45ab9deca4706086 -size 285 +oid sha256:ec44a5d620459eb59ed04d79f324e288c428a5e4b73817464aa2d0c383a6d68d +size 287 From 5cbe4d8f2279015a8ef3ac3e01ed43b8ee542133 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 16:13:27 +0100 Subject: [PATCH 29/37] update workflow --- .github/workflows/build-debug.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index ff7255e..63e037f 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -59,6 +59,7 @@ jobs: export_debug: true relative_project_path: ./ archive_output: true + verbose: true - name: Test run: | From 587edeb8fdddc4588671ab10f7c43970a28884d1 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 16:15:48 +0100 Subject: [PATCH 30/37] update workflow --- .github/workflows/build-debug.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 63e037f..a5343ee 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -46,7 +46,7 @@ jobs: mkdir -p ./android/build touch ./android/build/.gdignore - cat ~/.config/godot/editor_settings-4.tres + cat ~/.config/godot/editor_settings-4.tres | echo - name: export game id: export @@ -63,7 +63,7 @@ jobs: - name: Test run: | - cat ~/.config/godot/editor_settings-4.tres + cat ~/.config/godot/editor_settings-4.tres | echo - name: Upload APK uses: actions/upload-artifact@v2 From a382f31bccb19ab4b7b03a2c8410a88a1e33f58a Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 16:17:32 +0100 Subject: [PATCH 31/37] update workflow --- .github/workflows/build-debug.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index a5343ee..4ee95b7 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -46,7 +46,9 @@ jobs: mkdir -p ./android/build touch ./android/build/.gdignore - cat ~/.config/godot/editor_settings-4.tres | echo + - name: Test1 + run: | + cat ~/.config/godot/editor_settings-4.tres - name: export game id: export @@ -61,9 +63,9 @@ jobs: archive_output: true verbose: true - - name: Test + - name: Test2 run: | - cat ~/.config/godot/editor_settings-4.tres | echo + cat ~/.config/godot/editor_settings-4.tres - name: Upload APK uses: actions/upload-artifact@v2 From 679d00507d0ff2da447321ff9c4e61022e4f5dab Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 16:21:01 +0100 Subject: [PATCH 32/37] fix git lfs workflow --- .github/workflows/build-debug.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 4ee95b7..b5fea67 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -24,6 +24,8 @@ jobs: # your project is available for Godot to export - name: checkout uses: actions/checkout@v3.3.0 + with: + lfs: true - name: Set up JDK 17 uses: actions/setup-java@v3 From f9cc703579d60af876d6b873055343fa439ddf37 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 17:02:06 +0100 Subject: [PATCH 33/37] update workflow --- .github/workflows/build-debug.yml | 5 ++--- android/editor_settings-4.tres | 3 --- editor_settings-4.tres | 3 +++ 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 android/editor_settings-4.tres create mode 100644 editor_settings-4.tres diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index b5fea67..9579012 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -38,12 +38,11 @@ jobs: - name: Setup Android Export run: | - mkdir -p ~/.android keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 - mv -v debug.keystore ~/.android/debug.keystore + ls -l mkdir -p ~/.config/godot - cp -v ./android/editor_settings-4.tres ~/.config/godot/ + cp -v ./editor_settings-4.tres ~/.config/godot/ mkdir -p ./android/build touch ./android/build/.gdignore diff --git a/android/editor_settings-4.tres b/android/editor_settings-4.tres deleted file mode 100644 index 809d366..0000000 --- a/android/editor_settings-4.tres +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ec44a5d620459eb59ed04d79f324e288c428a5e4b73817464aa2d0c383a6d68d -size 287 diff --git a/editor_settings-4.tres b/editor_settings-4.tres new file mode 100644 index 0000000..8803e5a --- /dev/null +++ b/editor_settings-4.tres @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05ad3273db12b74c881ed1cb4600bb2510f06656a0c48f1d7b0362080eede8d6 +size 324 From 490e65c7733115160ecd5fe222e005d501108b56 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 17:32:29 +0100 Subject: [PATCH 34/37] update workflow --- .github/workflows/build-debug.yml | 52 +++++++++++++++++-------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 9579012..811eebe 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -47,29 +47,35 @@ jobs: mkdir -p ./android/build touch ./android/build/.gdignore - - name: Test1 - run: | - cat ~/.config/godot/editor_settings-4.tres + wget -nv https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_export_templates.tpz -O ./godot_templates.tpz + unzip -q ./godot_templates.tpz -d . + rm ./godot_templates.tpz + unzip -q ./templates/android_source.zip -d ./android/build/ + rm ./templates/android_source.zip - - name: export game - id: export - # Use latest version (see releases for all versions) - uses: firebelley/godot-export@v5.2.1 - with: - # 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 - export_debug: true - relative_project_path: ./ - archive_output: true - verbose: true + # - name: Test1 + # run: | + # cat ~/.config/godot/editor_settings-4.tres - - name: Test2 - run: | - cat ~/.config/godot/editor_settings-4.tres + # - name: export game + # id: export + # # Use latest version (see releases for all versions) + # uses: firebelley/godot-export@v5.2.1 + # with: + # # 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 + # export_debug: true + # relative_project_path: ./ + # archive_output: true + # verbose: true - - name: Upload APK - uses: actions/upload-artifact@v2 - with: - name: immersive-home-debug - path: ${{ steps.export.outputs.archive_directory }} + # - name: Test2 + # run: | + # cat ~/.config/godot/editor_settings-4.tres + + # - name: Upload APK + # uses: actions/upload-artifact@v2 + # with: + # name: immersive-home-debug + # path: ${{ steps.export.outputs.archive_directory }} From 637064415b2ea83f74b326567aaed30453059531 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 17:32:51 +0100 Subject: [PATCH 35/37] update workflow --- .github/workflows/build-debug.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 811eebe..c2372d4 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -53,6 +53,8 @@ jobs: unzip -q ./templates/android_source.zip -d ./android/build/ rm ./templates/android_source.zip + ls -l ./android/build/ + # - name: Test1 # run: | # cat ~/.config/godot/editor_settings-4.tres From 8b33b9044e1ab0ba7a50d9b3a7642ec70623363e Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 17:38:14 +0100 Subject: [PATCH 36/37] update workflow to hopefully make it finally work --- .github/workflows/build-debug.yml | 49 +++++++++++++++---------------- 1 file changed, 23 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index c2372d4..023ed81 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -39,7 +39,6 @@ jobs: - name: Setup Android Export run: | keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12 - ls -l mkdir -p ~/.config/godot cp -v ./editor_settings-4.tres ~/.config/godot/ @@ -53,31 +52,29 @@ jobs: unzip -q ./templates/android_source.zip -d ./android/build/ rm ./templates/android_source.zip - ls -l ./android/build/ + - name: Test1 + run: | + cat ~/.config/godot/editor_settings-4.tres - # - name: Test1 - # run: | - # cat ~/.config/godot/editor_settings-4.tres + - name: export game + id: export + # Use latest version (see releases for all versions) + uses: firebelley/godot-export@v5.2.1 + with: + # 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 + export_debug: true + relative_project_path: ./ + archive_output: true + verbose: true - # - name: export game - # id: export - # # Use latest version (see releases for all versions) - # uses: firebelley/godot-export@v5.2.1 - # with: - # # 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 - # export_debug: true - # relative_project_path: ./ - # archive_output: true - # verbose: true + - name: Test2 + run: | + cat ~/.config/godot/editor_settings-4.tres - # - name: Test2 - # run: | - # cat ~/.config/godot/editor_settings-4.tres - - # - name: Upload APK - # uses: actions/upload-artifact@v2 - # with: - # name: immersive-home-debug - # path: ${{ steps.export.outputs.archive_directory }} + - name: Upload APK + uses: actions/upload-artifact@v2 + with: + name: immersive-home-debug + path: ${{ steps.export.outputs.archive_directory }} From 649006ee1df2fecef5230bf6b619f4c4df50d2a4 Mon Sep 17 00:00:00 2001 From: Nitwel Date: Mon, 20 Nov 2023 18:05:20 +0100 Subject: [PATCH 37/37] clean up workflow --- .github/workflows/build-debug.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 023ed81..3c72266 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -2,9 +2,8 @@ name: Build APK on: push: - branches: - - main - - testing + tags: + - "v*-test" env: GODOT_VERSION: 4.1.3 @@ -52,10 +51,6 @@ jobs: unzip -q ./templates/android_source.zip -d ./android/build/ rm ./templates/android_source.zip - - name: Test1 - run: | - cat ~/.config/godot/editor_settings-4.tres - - name: export game id: export # Use latest version (see releases for all versions) @@ -67,14 +62,16 @@ jobs: export_debug: true relative_project_path: ./ archive_output: true - verbose: true - - - name: Test2 - run: | - cat ~/.config/godot/editor_settings-4.tres - name: Upload APK uses: actions/upload-artifact@v2 with: name: immersive-home-debug path: ${{ steps.export.outputs.archive_directory }} + + - name: create release + uses: ncipollo/release-action@v1.11.2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + generateReleaseNotes: true + artifacts: ${{ steps.export.outputs.archive_directory }}/* # Added "/*" at the end is glob pattern match for this action