Skip to content

Test homebrew

Test homebrew #12

Workflow file for this run

name: GitHub Actions Demo
run-name: Test homebrew
on: [push]
jobs:
Test-Python-macos12:
runs-on: macos-12
steps:
- run: brew update
- run: brew uninstall azure-cli
- run: brew config
if: always()
- run: brew doctor
if: always()
- run: brew install python@3.11
if: always()
Test-Python-macos13:
runs-on: macos-13
steps:
- run: brew update
- run: brew uninstall azure-cli
- run: brew config
if: always()
- run: brew doctor
if: always()
- run: brew install python@3.11
if: always()
Test-Formula:
runs-on: macos-12
environment: Test
steps:
- run: brew uninstall azure-cli
- run: curl $FORMULA > azure-cli.rb && brew install --build-from-source ./azure-cli.rb
env:
FORMULA: ${{ secrets.FORMULA }}
Test-Bottle:
runs-on: macos-12
steps:
- run: brew uninstall azure-cli
- run: brew install azure-cli