mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
ci: Tweak GitHub Actions and switch from Adopt to Temurin JDK
This commit is contained in:
parent
4dd8aece0c
commit
0bf55a8ca0
2 changed files with 21 additions and 18 deletions
9
.github/workflows/build_check.yml
vendored
9
.github/workflows/build_check.yml
vendored
|
@ -33,15 +33,18 @@ jobs:
|
|||
uses: null2264/actions/gradle-setup@a4d662095a2f2af1ed24f1228eb6e55b0f9f1f29
|
||||
with:
|
||||
java: 17
|
||||
distro: adopt
|
||||
distro: temurin
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
run: |
|
||||
mkdir -p ~/.gradle
|
||||
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
||||
- name: Build and run tests
|
||||
run: ./gradlew assembleStandardRelease testReleaseUnitTest testStandardReleaseUnitTest
|
||||
- name: Build the app
|
||||
run: ./gradlew assembleStandardRelease
|
||||
|
||||
- name: Run unit tests
|
||||
run: ./gradlew testReleaseUnitTest testStandardReleaseUnitTest
|
||||
|
||||
- name: Publish test report
|
||||
uses: mikepenz/action-junit-report@v5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue