Skip to content

Commit

Permalink
Merge branch 'fix/#157-update-cd' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
915dbfl committed Nov 11, 2023
2 parents fe73646 + cd72fc7 commit 2727ab0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/android-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,36 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Gradle cache
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'

- name: Generate Local Property
run: |
echo ATT_BASE_URL=\"$ATT_BASE_URL\" >> local.properties
echo SENTRY_DSN_DEBUG=\"SENTRY_DSN_DEBUG\" >> local.properties
echo SENTRY_DSN_RELEASE=\"SENTRY_DSN_RELEASE\" >> local.properties
env:
ATT_BASE_URL: ${{ secrets.ATT_BASE_URL }}
SENTRY_DSN_DEBUG: ${{ secrets.SENTRY_DSN_DEBUG }}
SENTRY_DSN_RELEASE: ${{ secrets.SENTRY_DSN_RELEASE }}

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Upload apk to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
Expand Down

0 comments on commit 2727ab0

Please sign in to comment.