fix(ci): add explicit PATH with homebrew so flutter is found by bash --norc
This commit is contained in:
@@ -5,6 +5,7 @@ on:
|
||||
branches: [main]
|
||||
|
||||
env:
|
||||
PATH: /opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
|
||||
ANDROID_HOME: /Users/freetlab/Library/Android/sdk
|
||||
|
||||
jobs:
|
||||
@@ -107,7 +108,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"
|
||||
|
||||
Reference in New Issue
Block a user