fix(ci): replace actions/checkout@v4 with git clone (no Node.js on runner)
Build & Deploy Farolero / Análisis de código (push) Successful in 12s
Build & Deploy Farolero / Build APK + AAB release (push) Failing after 3s

This commit is contained in:
2026-07-25 20:52:50 +02:00
parent 633d156892
commit cc069f1c39
+14 -4
View File
@@ -12,7 +12,12 @@ jobs:
name: Análisis de código
runs-on: [self-hosted, macos, arm64, flutter]
steps:
- uses: actions/checkout@v4
- name: Clonar repositorio
run: |
git clone https://ShanaiaBot:${{ secrets.GITEA_TOKEN }}@git.freetimelab.es/FreeTLab/farolero.git .
git fetch origin main
git checkout main
- name: Verificar Flutter
run: |
which flutter
@@ -30,7 +35,12 @@ jobs:
needs: analizar
if: ${{ gitea.ref == 'refs/heads/main' }}
steps:
- uses: actions/checkout@v4
- name: Clonar repositorio
run: |
git clone https://ShanaiaBot:${{ secrets.GITEA_TOKEN }}@git.freetimelab.es/FreeTLab/farolero.git .
git fetch origin main
git checkout main
- name: Verificar Flutter
run: |
which flutter
@@ -82,7 +92,7 @@ jobs:
APK_NOMBRE="farolero-v${VERSION}.apk"
AAB_NOMBRE="farolero-v${VERSION}.aab"
DESTINO="/opt/ftl-builds/builds/farolero/v${VERSION}"
SSH_KEY="/Users/freetlab/.openclaw/workspace/.secure/zimaboard_ed25519"
SSH_KEY="/Users5519"
ssh -i "$SSH_KEY" -o StrictHostKeyChecking=no ShanaiaBot@192.168.0.33 "mkdir -p ${DESTINO}"
scp -i "$SSH_KEY" -o StrictHostKeyChecking=no \
@@ -99,7 +109,7 @@ jobs:
run: |
VERSION="${{ steps.version.outputs.version }}"
COMMIT="${{ steps.version.outputs.commit }}"
BOT_TOKEN=$(plutil -extract 'EnvironmentVariables:TELEGRAM_BOT_TOKEN' raw /Users/freetlab/Library/LaunchAgents/ai.openclaw.gateway.plist 2>/dev/null || echo "")
BOT_TOKEN=*** -extract 'EnvironmentVariables:TELEGRAM_BOT_TOKEN' raw /Users/freetlab/Library/LaunchAgents/ai.openclaw.gateway.plist 2>/dev/null || echo "")
if [ -z "$BOT_TOKEN" ]; then exit 0; fi
if [ "${{ job.status }}" = "success" ]; then
MSG="✅ *Farolero* v${VERSION} build OK · ${COMMIT}%0AAPK + AAB en builds.freetimelab.es"