Skip to content

Commit

Permalink
Merge pull request #368 from xuwei-k/fix-macos
Browse files Browse the repository at this point in the history
fix macos CI
  • Loading branch information
eed3si9n authored May 6, 2024
2 parents d75e7df + f8420b9 commit 6211b85
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
java: 21
jobtype: 2
- os: macos-latest
java: 8
java: 11
jobtype: 2
- os: windows-latest
java: 8
Expand All @@ -42,6 +42,12 @@ jobs:
distribution: temurin
java-version: "${{ matrix.java }}"
cache: sbt
- if: ${{ matrix.os == 'macos-latest' }}
run: |
mkdir -p "$HOME/bin/"
curl -sL https://raw.githubusercontent.com/sbt/sbt/v1.9.9/sbt > "$HOME/bin/sbt"
export PATH="$PATH:$HOME/bin"
chmod +x "$HOME/bin/sbt"
- name: Build and test (1)
if: ${{ matrix.jobtype == 1 }}
shell: bash
Expand Down

0 comments on commit 6211b85

Please sign in to comment.