From 74858434a800709e8e5b91c071ac4b1d062be186 Mon Sep 17 00:00:00 2001 From: Wenxuan Zhang Date: Tue, 11 Aug 2020 17:02:57 +0800 Subject: [PATCH] ci: fix prerequisites --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fdd6d3c..3afeca9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,9 +26,9 @@ jobs: - name: Install prerequisites shell: bash run: | - if [[ "${{ matrix.os }}" =~ "macos.*" ]]; then + if [[ "${{ matrix.os }}" == macos* ]]; then brew install fish zsh - elif [[ "${{ matrix.os }}" =~ "ubuntu.*" ]]; then + elif [[ "${{ matrix.os }}" == ubuntu* ]]; then sudo apt -y update sudo apt -y install fish zsh fi