Coeur-Morny-Cono/.github/workflows/build.yml
2024-08-09 01:15:21 +08:00

17 lines
414 B
YAML

name: "Build"
run-name: "Build projects to ensure compiling is successful"
on: [workflow_call]
jobs:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Setup Java 21 with SBT"
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: sbt
- name: "Compile Project"
run: sbt compile