Skip to content

Commit

Permalink
Update Main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandregpereira authored Aug 18, 2024
1 parent d0fe059 commit 5c6318b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/Main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5c6318b

Please sign in to comment.