diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d8d901ba57..62a8ff73bf 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -62,40 +62,40 @@ jobs: run: npm run deploy:ios working-directory: importer - # build-android: - # name: Build Android library - # runs-on: ubuntu-latest - - # steps: - # - uses: actions/checkout@v2 - - # - name: Use Node 18 - # uses: actions/setup-node@v1 - # with: - # node-version: 18.x - - # - run: npm install - - # - name: Run generate script - # run: npm run deploy:android - # working-directory: importer - - # - name: Setup Java - # uses: actions/setup-java@v1 - # with: - # java-version: 11 - - # # https://github.com/marketplace/actions/gradle-command - # - name: Build Android library - # uses: eskatos/gradle-command-action@v1 - # with: - # arguments: assembleRelease - # build-root-directory: android - # wrapper-directory: android - - # - name: Generate BUILD.gn file for Android - # run: python3 generate_build_gn_android.py - # working-directory: importer + build-android: + name: Build Android library + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Use Node 18 + uses: actions/setup-node@v1 + with: + node-version: 18.x + + - run: npm install + + - name: Run generate script + run: npm run deploy:android + working-directory: importer + + - name: Setup Java + uses: actions/setup-java@v1 + with: + java-version: 11 + + # https://github.com/marketplace/actions/gradle-command + - name: Build Android library + uses: eskatos/gradle-command-action@v1 + with: + arguments: assembleRelease + build-root-directory: android + wrapper-directory: android + + - name: Generate BUILD.gn file for Android + run: python3 generate_build_gn_android.py + working-directory: importer build-flutter: name: Build Flutter library