Skip to content

try using app/build/outputs path #14

try using app/build/outputs path

try using app/build/outputs path #14

name: Frontend (Development)
on: [push, workflow_dispatch]
jobs:
build-ios-development:
name: Build - iOS
# macos-latest is macOS 12 (at the time of writing - 27/01/24)
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
# https://github.com/expo/expo/issues/25905
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
- run: npm ci
working-directory: ./frontend
- run: npx expo prebuild
working-directory: ./frontend
- run: bundle install
working-directory: ./frontend
- run: bundle exec fastlane main_development
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
FASTLANE_USER: ${{ secrets.FASTLANE_USER }}
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: ${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
ASC_KEY: ${{ secrets.ASC_PRIVATE_KEY }}
working-directory: ./frontend
- uses: actions/upload-artifact@v4
with:
name: ios-development
path: |
./frontend/fosscat.ipa
./frontend/fosscat.app.dSYM.zip
build-android:
name: Build - Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '17' # lts
- run: npm ci
working-directory: ./frontend
- run: npx expo prebuild
working-directory: ./frontend
- run: bundle install
working-directory: ./frontend
- run: bundle exec fastlane android main
working-directory: ./frontend
- uses: actions/upload-artifact@v4
with:
name: android-development
path: |
./frontend/android/app/build/outputs/bundle/app-release.aab
- run: ls -R ./frontend/android/app/build/outputs/