Godot Engine – Multi-platform 2D and 3D game engine
[CI] Do not fail Android build if Perfetto download failed.
Pāvels Nadtočajevs09d9d4a4933f
diff --git a/.github/workflows/android_builds.yml b/.github/workflows/android_builds.ymlindex 8f3244dd2d8..05e04462737 100644--- a/.github/workflows/android_builds.yml+++ b/.github/workflows/android_builds.yml@@ -68,12 +68,20 @@ jobs:run: python ./misc/scripts/install_swappy_android.py- name: Download Perfetto- run: python ./misc/scripts/install_perfetto.py+ shell: sh+ id: perfetto_sdk+ run: |+ if python ./misc/scripts/install_perfetto.py; then+ echo "PROFILER_ENABLED=perfetto" >> "$GITHUB_OUTPUT"+ else+ echo "::warning::Perfetto installation failed, building without Perfetto support."+ echo "PROFILER_ENABLED=none" >> "$GITHUB_OUTPUT"+ fi- name: Compilationuses: ./.github/actions/godot-buildwith:- scons-flags: ${{ env.SCONS_FLAGS }} ${{ matrix.scons-flags }}+ scons-flags: ${{ env.SCONS_FLAGS }} ${{ matrix.scons-flags }} profiler=${{ steps.perfetto_sdk.outputs.PROFILER_ENABLED }}platform: androidtarget: ${{ matrix.target }}