Skip to content

Commit

Permalink
Test offical gradle action
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw committed Jan 13, 2024
1 parent 45671d2 commit c2cea6c
Showing 1 changed file with 5 additions and 24 deletions.
29 changes: 5 additions & 24 deletions .github/workflows/deploy-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,12 @@ jobs:
versionCode: ${{github.run_number}}
versionName: '1.0.0'

# - name: Run Unit Test
# run: ./gradlew test


# cache Gradle dependencies and wrapper to reduce build time
- name: Cache Gradle Wrapper
uses: actions/[email protected]
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}

- name: Cache Gradle Dependencies
uses: actions/[email protected]
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-caches-
- name: Make Gradlew Executable
run: cd android && chmod +x ./gradlew

# Building and signing App
- name: Build Android App Bundle
run: cd android && ./gradlew bundleRelease
- name: Setup Gradle
uses: gradle/[email protected]

- name: Execute Gradle build
run: cd android && ./gradlew bundleRelease

- name: Sign ABB
uses: r0adkll/sign-android-release@v1
# ID used to access action output
Expand Down

0 comments on commit c2cea6c

Please sign in to comment.