chore(ci): fix templates path nesting and replace failing android setup action with sdkmanager
CI / Export Linux (push) Failing after 6m37s
CI / Export Windows (push) Failing after 6m45s
Test Suite / Unit Tests (GUT) (push) Successful in 44s
CI / Export Android (push) Failing after 5m11s
Test Suite / Code Style Check (push) Failing after 24s
Test Suite / Integration Tests (push) Failing after 5m34s
CI / Create Release (push) Has been skipped
Test Suite / Security Scan (push) Failing after 5m40s
CI / Export Linux (push) Failing after 6m37s
CI / Export Windows (push) Failing after 6m45s
Test Suite / Unit Tests (GUT) (push) Successful in 44s
CI / Export Android (push) Failing after 5m11s
Test Suite / Code Style Check (push) Failing after 24s
Test Suite / Integration Tests (push) Failing after 5m34s
CI / Create Release (push) Has been skipped
Test Suite / Security Scan (push) Failing after 5m40s
This commit is contained in:
+31
-14
@@ -25,12 +25,6 @@ jobs:
|
|||||||
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
||||||
ssh-strict: false
|
ssh-strict: false
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ssh-key: ${{ secrets.TEKTON_SSH_KEY }}
|
|
||||||
ssh-strict: false
|
|
||||||
|
|
||||||
- name: Setup Godot
|
- name: Setup Godot
|
||||||
run: |
|
run: |
|
||||||
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
wget -q https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_linux.x86_64.zip
|
||||||
@@ -43,7 +37,12 @@ jobs:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
||||||
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
||||||
unzip -o -q /tmp/godot-templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
unzip -o -q /tmp/godot-templates.tpz -d /tmp/godot-templates
|
||||||
|
if [ -d /tmp/godot-templates/templates ]; then
|
||||||
|
mv /tmp/godot-templates/templates/* ~/.local/share/godot/export_templates/4.6.stable/
|
||||||
|
else
|
||||||
|
cp -a /tmp/godot-templates/* ~/.local/share/godot/export_templates/4.6.stable/ 2>/dev/null || true
|
||||||
|
fi
|
||||||
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
||||||
|
|
||||||
- name: Export Windows
|
- name: Export Windows
|
||||||
@@ -85,7 +84,12 @@ jobs:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
||||||
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
||||||
unzip -o -q /tmp/godot-templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
unzip -o -q /tmp/godot-templates.tpz -d /tmp/godot-templates
|
||||||
|
if [ -d /tmp/godot-templates/templates ]; then
|
||||||
|
mv /tmp/godot-templates/templates/* ~/.local/share/godot/export_templates/4.6.stable/
|
||||||
|
else
|
||||||
|
cp -a /tmp/godot-templates/* ~/.local/share/godot/export_templates/4.6.stable/ 2>/dev/null || true
|
||||||
|
fi
|
||||||
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
||||||
|
|
||||||
- name: Export Linux
|
- name: Export Linux
|
||||||
@@ -127,15 +131,28 @@ jobs:
|
|||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
mkdir -v -p ~/.local/share/godot/export_templates/4.6.stable
|
||||||
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
wget -nv https://github.com/godotengine/godot-builds/releases/download/4.6-stable/Godot_v4.6-stable_export_templates.tpz -O /tmp/godot-templates.tpz
|
||||||
unzip -o -q /tmp/godot-templates.tpz -d ~/.local/share/godot/export_templates/4.6.stable
|
unzip -o -q /tmp/godot-templates.tpz -d /tmp/godot-templates
|
||||||
|
if [ -d /tmp/godot-templates/templates ]; then
|
||||||
|
mv /tmp/godot-templates/templates/* ~/.local/share/godot/export_templates/4.6.stable/
|
||||||
|
else
|
||||||
|
cp -a /tmp/godot-templates/* ~/.local/share/godot/export_templates/4.6.stable/ 2>/dev/null || true
|
||||||
|
fi
|
||||||
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
ls -la ~/.local/share/godot/export_templates/4.6.stable || true
|
||||||
|
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
run: |
|
||||||
with:
|
set -euo pipefail
|
||||||
api-level: 34
|
ANDROID_HOME=/root/Android/Sdk
|
||||||
ndk-version: r26c
|
mkdir -p "$ANDROID_HOME"
|
||||||
cmdline-tools-version: '11.0'
|
cd "$ANDROID_HOME"
|
||||||
|
wget -q https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip -O cmdline-tools.zip
|
||||||
|
unzip -q cmdline-tools.zip
|
||||||
|
mkdir -p cmdline-tools/latest
|
||||||
|
mv cmdline-tools/* cmdline-tools/latest/ 2>/dev/null || true
|
||||||
|
export PATH="$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$PATH"
|
||||||
|
echo "$ANDROID_HOME/cmdline-tools/latest/bin" >> "$GITHUB_PATH"
|
||||||
|
echo "$ANDROID_HOME/platform-tools" >> "$GITHUB_PATH"
|
||||||
|
yes | sdkmanager --sdk_root="$ANDROID_HOME" "platform-tools" "platforms;android-34" "build-tools;34.0.0" "ndk;26.1.10909118"
|
||||||
|
|
||||||
- name: Export Android
|
- name: Export Android
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user