Skip to content

Commit

Permalink
Workflows: load sbt explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Jan 24, 2025
1 parent 0ca1d04 commit 10bc4f8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
distribution: temurin
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt '++2.12.19; docs/mdoc'
test-windows:
name: "Windows"
Expand All @@ -41,7 +43,9 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
distribution: temurin
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt '++2.13.15 test'
shell: bash
test:
Expand All @@ -67,5 +71,7 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: adopt
distribution: temurin
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sbt ${{ matrix.command }}
3 changes: 2 additions & 1 deletion .github/workflows/mdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
distribution: temurin
- uses: sbt/setup-sbt@v1
- uses: olafurpg/setup-gpg@v3
- run: sbt '++2.12.19; docs/docusaurusPublishGhpages'
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
distribution: temurin
cache: sbt
- uses: sbt/setup-sbt@v1
- uses: olafurpg/setup-gpg@v3
- name: Publish ${{ github.ref }}
run: sbt ci-release
Expand Down

0 comments on commit 10bc4f8

Please sign in to comment.