From ebcd0edb5823fa09fe57afb0b36beb9aa89fa663 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Sat, 22 Jun 2024 23:04:41 -0700 Subject: [PATCH] ci: Build iOS app with `fastlane` Adds all the signing keys and other credentials required for a successful production build. Additionally, opens the door to deploying via CI. --- .github/workflows/ios.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ios.yml diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml new file mode 100644 index 0000000..5cc6fa6 --- /dev/null +++ b/.github/workflows/ios.yml @@ -0,0 +1,29 @@ +name: "iOS" + +on: + push: + branches: ["master", "ci"] + +jobs: + build: + timeout-minutes: 10 + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 17 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + - name: Install dependencies + run: yarn install + - name: Build Application + run: | + echo $SECRETS_TAR_GZ_B64 | base64 -d | tar -xz -C fastlane + bundle exec fastlane ios build + env: + SECRETS_TAR_GZ_B64: ${{ secrets.SECRETS_TAR_GZ_B64 }}