chore: workflows

This commit is contained in:
Mo
2022-06-09 12:02:27 -05:00
parent 5f2d088384
commit 4f098d9704
2 changed files with 9 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ jobs:
GOOGLE_PLAY_JSON_KEY_DATA: ${{ secrets.GOOGLE_PLAY_JSON_KEY_DATA }} GOOGLE_PLAY_JSON_KEY_DATA: ${{ secrets.GOOGLE_PLAY_JSON_KEY_DATA }}
with: with:
lane: 'android dev' lane: 'android dev'
subdirectory: 'packages/mobile'
- name: Upload universal apk to artifacts - name: Upload universal apk to artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
@@ -51,7 +52,7 @@ jobs:
ios: ios:
defaults: defaults:
run: run:
working-directory: ./packages/mobile working-directory: packages/mobile
runs-on: macos-11 runs-on: macos-11
timeout-minutes: 90 timeout-minutes: 90
if: "!contains(github.event.head_commit.message, 'skip ci')" if: "!contains(github.event.head_commit.message, 'skip ci')"
@@ -79,6 +80,7 @@ jobs:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
with: with:
lane: 'ios setup' lane: 'ios setup'
subdirectory: 'packages/mobile'
- name: fastlane - name: fastlane
uses: maierj/fastlane-action@v1.4.0 uses: maierj/fastlane-action@v1.4.0
env: env:
@@ -96,3 +98,4 @@ jobs:
BUILD_NUMBER: ${{ github.run_number }} BUILD_NUMBER: ${{ github.run_number }}
with: with:
lane: 'ios dev' lane: 'ios dev'
subdirectory: 'packages/mobile'

View File

@@ -6,7 +6,7 @@ jobs:
android: android:
defaults: defaults:
run: run:
working-directory: ./packages/mobile working-directory: packages/mobile
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 45 timeout-minutes: 45
steps: steps:
@@ -36,6 +36,7 @@ jobs:
GOOGLE_PLAY_JSON_KEY_DATA: ${{ secrets.GOOGLE_PLAY_JSON_KEY_DATA }} GOOGLE_PLAY_JSON_KEY_DATA: ${{ secrets.GOOGLE_PLAY_JSON_KEY_DATA }}
with: with:
lane: 'android prod' lane: 'android prod'
subdirectory: 'packages/mobile'
- name: Upload universal apk to artifacts - name: Upload universal apk to artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
@@ -49,7 +50,7 @@ jobs:
ios: ios:
defaults: defaults:
run: run:
working-directory: ./packages/mobile working-directory: packages/mobile
runs-on: macos-11 runs-on: macos-11
timeout-minutes: 90 timeout-minutes: 90
steps: steps:
@@ -76,6 +77,7 @@ jobs:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
with: with:
lane: 'ios setup' lane: 'ios setup'
subdirectory: 'packages/mobile'
- name: fastlane - name: fastlane
uses: maierj/fastlane-action@v1.4.0 uses: maierj/fastlane-action@v1.4.0
env: env:
@@ -93,4 +95,5 @@ jobs:
BUILD_NUMBER: ${{ github.run_number }} BUILD_NUMBER: ${{ github.run_number }}
with: with:
lane: 'ios prod' lane: 'ios prod'
subdirectory: 'packages/mobile'