mirror of
https://github.com/Eyre-S/Coeur-Morny-Cono.git
synced 2025-02-22 22:28:46 +08:00
try fix sbt not found
This commit is contained in:
parent
60b6be6bac
commit
97b629100d
4
.github/workflows/assembly-generate.yml
vendored
4
.github/workflows/assembly-generate.yml
vendored
@ -13,12 +13,14 @@ jobs:
|
||||
path: "./"
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
fail-on-cache-miss: 'true'
|
||||
- name: "Setup Java 21 with SBT"
|
||||
- name: "Setup Java 21"
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
cache: sbt
|
||||
- name: "Setup sbt"
|
||||
uses: sbt/setup-sbt@v1
|
||||
- name: "Generate assembly jar"
|
||||
run: sbt assembly
|
||||
- name: "Publish assembly jar"
|
||||
|
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -15,12 +15,15 @@ jobs:
|
||||
- if: steps.check-cache.outputs.cache-hit != 'true'
|
||||
uses: actions/checkout@v4
|
||||
- if: steps.check-cache.outputs.cache-hit != 'true'
|
||||
name: "Setup Java 21 with SBT"
|
||||
name: "Setup Java 21"
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
cache: sbt
|
||||
- if: steps.check-cache.outputs.cache-hit != 'true'
|
||||
name: "Setup sbt"
|
||||
uses: sbt/setup-sbt@v1
|
||||
- if: steps.check-cache.outputs.cache-hit != 'true'
|
||||
name: "Compile Project"
|
||||
run: sbt compile
|
||||
|
4
.github/workflows/unit-test.yml
vendored
4
.github/workflows/unit-test.yml
vendored
@ -14,12 +14,14 @@ jobs:
|
||||
path: "./"
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
fail-on-cache-miss: 'true'
|
||||
- name: "Setup Java 21 with SBT"
|
||||
- name: "Setup Java 21"
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
cache: sbt
|
||||
- name: "Setup sbt"
|
||||
uses: sbt/setup-sbt@v1
|
||||
- name: "Run unit tests"
|
||||
id: do-unit-test
|
||||
run: sbt test
|
||||
|
Loading…
Reference in New Issue
Block a user