From db2801d77d45f2a92292bef373ef9901445aae0b Mon Sep 17 00:00:00 2001 From: Lei Nelissen Date: Sun, 26 Jul 2020 11:56:04 +0200 Subject: [PATCH] Add android APK workflow --- .github/workflows/fastlane.yml | 41 +++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 13 deletions(-) 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 +