CI: Only install SBT if not present on Ubuntu image

This commit is contained in:
Philip Chimento 2024-10-16 04:54:41 -07:00 committed by Philip Chimento
parent 9f3ea11f7f
commit 8eb3a0dfde
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ jobs:
java-version: 17
- name: Setup SBT
uses: sbt/setup-sbt@v1
if: ${{ hashFiles('/usr/bin/sbt') == '' }}
# https://www.peterbe.com/plog/how-to-run-workflow-step-if-a-file-exists
- name: Add to PATH
shell: bash
run: |