Skip to content

Commit cedadba

Browse files
committed
Github actions install libncurses5
1 parent 15d0aad commit cedadba

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/ci.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ jobs:
1818
candidate: gradle
1919
version: 7.4.2
2020

21-
- uses: sdkman/sdkman-action@master
22-
with:
23-
candidate: libncurses5
24-
version: 7.4.2
25-
2621
- name: Install Kotlin
2722
run: |
2823
curl -o kotlin-compiler.zip -L https://github.com/JetBrains/kotlin/releases/download/v1.7.0/kotlin-compiler-1.7.0.zip
@@ -39,7 +34,16 @@ jobs:
3934
- uses: actions/setup-node@v3
4035
with:
4136
node-version: '14'
42-
37+
38+
- name: Install libncurses5
39+
run: |
40+
if [[ "$OSTYPE" == "darwin"* ]]
41+
then
42+
brew install ncurses
43+
else
44+
sudo apt-get install libncurses5
45+
fi
46+
4347
- name: Install Danger JS
4448
run: npm install -g danger
4549

0 commit comments

Comments
 (0)