diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da94988..c192d45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,11 +16,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Homebrew to install from API - run: echo HOMEBREW_NO_INSTALL_FROM_API= >> "$GITHUB_ENV" - + # TODO: Remove openssl@3 reinstall cmd after 20240422.3 is no longer the latest + # macos-14-arm64 image - name: Install crystal and tool dependencies - run: brew install crystal meson openssl@3 + run: | + brew install crystal meson openssl@3 + brew update && brew reinstall openssl@3 - name: Install dependencies run: shards install diff --git a/.github/workflows/provision.yml b/.github/workflows/provision.yml index 94d6f06..961f06d 100644 --- a/.github/workflows/provision.yml +++ b/.github/workflows/provision.yml @@ -23,8 +23,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 + # TODO: Remove openssl@3 reinstall cmd after 20240422.3 is no longer the latest + # macos-14-arm64 image - name: Install crystal and tool dependencies - run: brew install crystal meson openssl@3 + run: | + brew install crystal meson openssl@3 + brew update && brew reinstall openssl@3 - name: Install dependencies run: shards install @@ -34,9 +38,6 @@ jobs: # Based on https://raw.githubusercontent.com/MikeMcQuaid/strap/master/.github/workflows/tests.yml - - name: Set up Homebrew to install from API - run: echo HOMEBREW_NO_INSTALL_FROM_API= >> "$GITHUB_ENV" - - name: Run brew bot's cleanup run: brew test-bot --only-cleanup-before diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a541608..56c2e4e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,11 +88,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Homebrew to install from API - run: echo HOMEBREW_NO_INSTALL_FROM_API= >> "$GITHUB_ENV" - + # TODO: Remove openssl@3 reinstall cmd after 20240422.3 is no longer the latest + # macos-14-arm64 image - name: Install crystal and tool dependencies - run: brew install crystal meson openssl@3 + run: | + brew install crystal meson openssl@3 + brew update && brew reinstall openssl@3 - name: Install dependencies run: shards install @@ -133,11 +134,12 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Homebrew to install from API - run: echo HOMEBREW_NO_INSTALL_FROM_API= >> "$GITHUB_ENV" - + # TODO: Remove openssl@3 reinstall cmd after 20240422.3 is no longer the latest + # macos-14-arm64 image - name: Install crystal and tool dependencies - run: brew install crystal meson openssl@3 + run: | + brew install crystal meson openssl@3 + brew update && brew reinstall openssl@3 - name: Install dependencies run: shards install