Skip to content

Commit

Permalink
[cd] Remove unnecessary steps, Modifying Deployment Conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
yuni-ju authored Nov 2, 2024
1 parent 9d36d9b commit c34f86f
Showing 1 changed file with 4 additions and 25 deletions.
29 changes: 4 additions & 25 deletions .github/workflows/Android-release CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,39 +54,18 @@ jobs:
echo '${{ secrets.SENTRY_PROPERTIES }}' > ./sentry.properties
echo '${{ secrets.SENTRY_PROPERTIES }}' > ./app/src/main/resources/sentry.properties
# Build APK Release
- name: Build release Apk
run: ./gradlew clean assembleRelease

# Upload APK
- name: Upload a Build APK Artifact
uses: actions/upload-artifact@v3.0.0
with:
# Artifact name
name: app-release.apk
# A file, directory or wildcard pattern that describes what to upload
path: ./app/build/outputs/apk/release/app-release.apk
retention-days: 14

# Build AAB Release
- name: Build release Bundle
run: ./gradlew clean bundleRelease

# Upload AAB
- name: Upload a Build AAB Artifact
uses: actions/upload-artifact@v3.0.0
with:
# Artifact name
name: app-release.aab
# A file, directory or wildcard pattern that describes what to upload
path: ./app/build/outputs/bundle/release/app-release.aab
retention-days: 14

# Upload Google Play
- name: Deploy to Play Store (INTERNAL) 🚀
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.ANDROID_SERVICE_ACCOUNT_JSON }}
packageName: ${{secrets.AOS_PACKAGE_NAME}}
releaseFiles: ./app/build/outputs/bundle/release/app-release.aab
track: internal
track: production
status: draft
if: github.ref != 'refs/heads/main'

0 comments on commit c34f86f

Please sign in to comment.