diff --git a/.github/workflows/fastlane.yml b/.github/workflows/fastlane.yml index 475bcb5..d581458 100644 --- a/.github/workflows/fastlane.yml +++ b/.github/workflows/fastlane.yml @@ -3,23 +3,38 @@ name: Fastlane on: [push] jobs: - build: - runs-on: macos-latest + # build-ios: + # runs-on: macos-latest + # steps: + # - uses: actions/checkout@v1 + # - name: Install Node dependencies + # run: npm install + # - name: Install CocoaPods dependencies + # run: pod install --project-directory=./ios + # - name: Run fastlane setup + # env: + # APPLE_ACCOUNT: ${{ secrets.APPLE_ACCOUNT }} + # TEAM_ID: ${{ secrets.TEAM_ID }} + # run: | + # cd ios + # fastlane beta --verbose + # - name: Upload artifact + # uses: actions/upload-artifact@v2 + # with: + # name: my-artifact + # path: output/*.ipa + build-android: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + - name: Install fastlane + run: sudo gem install fastlane - name: Install Node dependencies run: npm install - - name: Install CocoaPods dependencies - run: pod install --project-directory=./ios - - name: Run fastlane setup - env: - APPLE_ACCOUNT: ${{ secrets.APPLE_ACCOUNT }} - TEAM_ID: ${{ secrets.TEAM_ID }} - run: | - cd ios - fastlane beta --verbose + - name: Generate APK + run: fastlane android beta - name: Upload artifact uses: actions/upload-artifact@v2 with: - name: my-artifact - path: output/*.ipa \ No newline at end of file + path: android/build/outputs/**/*.apk +