Skip to content

Commit

Permalink
fix github actions runner
Browse files Browse the repository at this point in the history
sbt is no longer included by default in the ubuntu 24 runner
https://github.com/sbt/setup-sbt
actions/setup-java#712 (comment)
  • Loading branch information
mpollmeier committed Dec 23, 2024
1 parent adba591 commit 23e4bb6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
distribution: temurin
java-version: 21
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Install sbt
if: matrix.os == 'macos-latest'
run: brew install sbt
distribution: temurin
java-version: 21
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Install php
if: matrix.os == 'macos-latest'
run: brew install php
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
distribution: temurin
java-version: 21
cache: sbt
- uses: sbt/setup-sbt@v1
- run: sudo apt update && sudo apt install -y gnupg
- run: echo $PGP_SECRET | base64 --decode | gpg --batch --import
env:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/upgrade-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
distribution: temurin
java-version: 21
cache: sbt
- uses: sbt/setup-sbt@v1
- uses: actions/cache@v4
with:
path: |
Expand Down

0 comments on commit 23e4bb6

Please sign in to comment.