-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0fe059
commit 5c6318b
Showing
1 changed file
with
13 additions
and
5 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 |
---|---|---|
|
@@ -27,21 +27,29 @@ jobs: | |
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Setup Xcode version | ||
uses: maxim-lobanov/[email protected] | ||
with: | ||
xcode-version: latest-stable | ||
- name: Verify database migration | ||
run: chmod +x ./scripts/sqldelight/verifyDatabaseMigration && ./scripts/sqldelight/verifyDatabaseMigration | ||
|
||
- name: Build with Gradle | ||
env: | ||
MONSTER_COMPENDIUM_KEYSTORE_PASSWORD: ${{ secrets.MONSTER_COMPENDIUM_KEYSTORE_PASSWORD }} | ||
run: ./gradlew bundleRelease :app:packageDmg | ||
run: ./gradlew jvmTest testReleaseUnitTest bundleRelease :app:packageDmg | ||
|
||
- name: Generate Dev Apk | ||
env: | ||
MONSTER_COMPENDIUM_KEYSTORE_PASSWORD: ${{ secrets.MONSTER_COMPENDIUM_KEYSTORE_PASSWORD }} | ||
run: ./gradlew assembleRelease -Pdev | ||
|
||
- name: Upload the test report | ||
if: failure() | ||
uses: actions/[email protected] | ||
with: | ||
name: TestReport | ||
path: | | ||
feature-monster-compendium/build/reports/tests | ||
data/build/reports/tests | ||
domain/build/reports/tests | ||
- name: Upload Dmg | ||
uses: actions/[email protected] | ||
with: | ||
|