-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cicdtest' of github.com:N0stalgiaUltra/petjournal.andro…
…id into cicdtest
- Loading branch information
Showing
1 changed file
with
28 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,33 +78,32 @@ jobs: | |
name: unit_test_report | ||
path: petJournal/app/build/reports/tests/testDebugUnitTest/ | ||
|
||
package: | ||
name: Generate Android App Bundle | ||
runs-on: ubuntu-latest | ||
needs: unit-test | ||
steps: | ||
- name: Checkout the code | ||
uses: actions/[email protected] | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: 'gradle' | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
working-directory: petJournal | ||
|
||
- name: Build Android App Bundle | ||
run: ./gradlew bundle | ||
working-directory: petJournal | ||
|
||
|
||
- name: Upload Android App Bundle | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: app-release.aab | ||
path: petJournal/app/build/outputs/bundle/release/app-release.aab | ||
|
||
# package: | ||
# name: Generate Android App Bundle | ||
# runs-on: ubuntu-latest | ||
# needs: unit-test | ||
# steps: | ||
# - name: Checkout the code | ||
# uses: actions/[email protected] | ||
# | ||
# - name: Set up JDK 17 | ||
# uses: actions/[email protected] | ||
# with: | ||
# java-version: '17' | ||
# distribution: 'temurin' | ||
# cache: 'gradle' | ||
# | ||
# - name: Grant execute permission for gradlew | ||
# run: chmod +x gradlew | ||
# working-directory: petJournal | ||
# | ||
# - name: Build Android App Bundle | ||
# run: ./gradlew bundle | ||
# working-directory: petJournal | ||
# | ||
# - name: Upload Android App Bundle | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: app-release.aab | ||
# path: petJournal/app/build/outputs/bundle/release/app-release.aab |