update bash on macos CI

This commit is contained in:
otavepto 2024-05-12 04:46:58 +03:00
parent e6291d1f22
commit bac2976ace
2 changed files with 11 additions and 0 deletions

View File

@ -75,6 +75,11 @@ jobs:
key: ${{ env.DEPS_CACHE_KEY }} key: ${{ env.DEPS_CACHE_KEY }}
path: ${{ env.DEPS_CACHE_DIR }} path: ${{ env.DEPS_CACHE_DIR }}
### macos comes with bash v3
- name: Update bash
shell: bash
run: brew update && brew install bash
## mandatory macos packages, installed via sudo apt install ... ## mandatory macos packages, installed via sudo apt install ...
- name: Install required packages - name: Install required packages
shell: bash shell: bash

View File

@ -56,6 +56,12 @@ jobs:
working-directory: ${{ github.workspace }} working-directory: ${{ github.workspace }}
run: sudo chmod -R 777 "${{ github.workspace }}" run: sudo chmod -R 777 "${{ github.workspace }}"
### macos comes with bash v3
- name: Update bash
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
shell: bash
run: brew update && brew install bash
- name: Build deps - name: Build deps
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true' if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
shell: bash shell: bash