mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-06 02:59:28 +00:00
ci: reorder Java setup in CI workflow for improved efficiency in case of test failure
This commit is contained in:
parent
be5eb3fd13
commit
02b6194d8f
1 changed files with 6 additions and 6 deletions
12
.github/workflows/flutter_test.yaml
vendored
12
.github/workflows/flutter_test.yaml
vendored
|
|
@ -26,12 +26,6 @@ jobs:
|
|||
repository: Dr-Blank/shelfsdk
|
||||
path: ./shelfsdk
|
||||
|
||||
- name: Set Up Java
|
||||
uses: actions/setup-java@v3.12.0
|
||||
with:
|
||||
distribution: "oracle"
|
||||
java-version: "17"
|
||||
|
||||
- name: Set up Flutter
|
||||
uses: subosito/flutter-action@v2
|
||||
with:
|
||||
|
|
@ -43,6 +37,12 @@ jobs:
|
|||
- name: Run tests
|
||||
run: flutter test
|
||||
|
||||
- name: Set Up Java
|
||||
uses: actions/setup-java@v3.12.0
|
||||
with:
|
||||
distribution: "oracle"
|
||||
java-version: "17"
|
||||
|
||||
- name: Build APK
|
||||
run: flutter build apk --release
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue