Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Jul 8, 2023
1 parent f2b4744 commit 20841ce
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ jobs:
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: "adopt@1.${{ matrix.java }}"
- uses: coursier/cache-action@v5
distribution: "adopt"
java-version: "${{ matrix.java }}"
- uses: coursier/cache-action@v6
- name: Build and test
shell: bash
run: |
sbt -v +publishLocal $(if [[ "${{matrix.scala}}" != "" ]] ; then echo "++${{matrix.scala}}!" ; fi) test scripted
curl -sL https://raw.githubusercontent.com/dwijnand/sbt-extras/3e320ae0aa6748476a/sbt -o sbt
chmod +x ./sbt
./sbt -v +publishLocal $(if [[ "${{matrix.scala}}" != "" ]] ; then echo "++${{matrix.scala}}!" ; fi) test scripted
rm -rf "$HOME/.ivy2/local" || true
rm -rf "$HOME/.ivy2/cache/com.eed3si9n" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
Expand Down

0 comments on commit 20841ce

Please sign in to comment.