mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2024-11-24 20:17:38 +08:00
17 lines
414 B
YAML
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
|