From 91b113180e65b845bfd2ce77cc092aa9a894929d Mon Sep 17 00:00:00 2001 From: Katherine Bertelsen Date: Wed, 17 Apr 2024 11:10:44 -0500 Subject: [PATCH] First try with Fastlane --- .github/workflows/build.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3424006c0..ba1fd721a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -216,7 +216,7 @@ jobs: - name: Install Mint, xcbeautify, and yq run: | - brew install mint xcbeautify yq + brew install mint xcbeautify yq fastlane - name: Install Mint packages if: steps.mint-cache.outputs.cache-hit != 'true' @@ -258,14 +258,21 @@ jobs: --file "build/Bitwarden/Bitwarden.ipa" \ --username "$APPLE_ID_USERNAME" \ --password @env:APPLE_ID_PASSWORD - - - name: Upload app to TestFlight + + - name: Upload app to TestFlight with Fastlane env: APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }} APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} run: | - xcrun altool --upload-app \ - --type ios \ - --file "build/Bitwarden/Bitwarden.ipa" \ - --username "$APPLE_ID_USERNAME" \ - --password @env:APPLE_ID_PASSWORD + fastlane pilot upload --skip_submission --changelog "Test" + + # - name: Upload app to TestFlight + # env: + # APPLE_ID_USERNAME: ${{ secrets.APPLE_ID_USERNAME }} + # APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} + # run: | + # xcrun altool --upload-app \ + # --type ios \ + # --file "build/Bitwarden/Bitwarden.ipa" \ + # --username "$APPLE_ID_USERNAME" \ + # --password @env:APPLE_ID_PASSWORD