Install adb-enhanced via homebrew #97
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Install adb-enhanced via homebrew | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 0" # Sunday midnight UTC | |
| workflow_dispatch: | |
| push: | |
| branches: [master, main] | |
| paths: | |
| - ".github/workflows/install-adb-enhanced-from-homebrew.yml" | |
| pull_request: | |
| branches: [master, main] | |
| paths: | |
| - ".github/workflows/install-adb-enhanced-from-homebrew.yml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| installHomebrew: | |
| runs-on: macos-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Install adb-enhanced from homebrew | |
| run: | | |
| brew link --force python@3.11 | |
| HOMEBREW_NO_INSTALL_CLEANUP=true brew install --verbose adb-enhanced || echo "brew install returned non-zero exit code" | |
| adbe --version | |
| brew uninstall adb-enhanced |