ci: fix old fish version

Former-commit-id: 2f286ef785
This commit is contained in:
Wenxuan Zhang 2020-08-11 17:31:08 +08:00
parent f2b8166a40
commit 0dc91503d9

View file

@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
os: [macos-latest, ubuntu-16.04, ubuntu-18.04, ubuntu-20.04]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
@ -29,6 +29,7 @@ jobs:
if [[ "${{ matrix.os }}" == macos* ]]; then
brew install zsh fish
elif [[ "${{ matrix.os }}" == ubuntu* ]]; then
sudo apt-add-repository -y ppa:fish-shell/release-3
sudo apt -y update
sudo apt -y install zsh fish
fi