Skip to content

Commit

Permalink
Merge branch 'cicdtest' of github.com:N0stalgiaUltra/petjournal.andro…
Browse files Browse the repository at this point in the history
…id into cicdtest
  • Loading branch information
N0stalgiaUltra committed Mar 17, 2024
2 parents 5b86380 + 77695ab commit a0a5291
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions .github/workflows/petJournalAndroid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a0a5291

Please sign in to comment.