From 8d2494d885e3fb2b274309772941eed715c6657f Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sat, 23 Apr 2022 10:29:22 +0200 Subject: [PATCH] Refactor private beta workflow - Reword main job - Move tweak arguments to step env --- .github/workflows/private_beta.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/private_beta.yml b/.github/workflows/private_beta.yml index 4ed95395..b2d74c35 100644 --- a/.github/workflows/private_beta.yml +++ b/.github/workflows/private_beta.yml @@ -14,7 +14,7 @@ env: jobs: build_upload: - name: Upload to ASC + name: Distribute Private Beta runs-on: macos-11 environment: name: private_beta @@ -60,9 +60,13 @@ jobs: scripts/ci/recognize-match-hostname.sh bundle exec fastlane --env ${{ matrix.platform }} match development - name: Tweak build + env: + BUILD_NUMBER: ${{ github.event.inputs.build_number }} + PLIST_COMMAND: "Add :com.algoritmico.Passepartout.config:app_type integer 2" + PLIST_PATH: "Passepartout/App/Info.plist" run: | - ci/set-build.sh ${{ github.event.inputs.build_number }} - /usr/libexec/PlistBuddy -c "Add :com.algoritmico.Passepartout.config:app_type integer 2" Passepartout/App/Info.plist + ci/set-build.sh $BUILD_NUMBER + /usr/libexec/PlistBuddy -c $PLIST_COMMAND $PLIST_PATH - name: Build ${{ matrix.name }} app timeout-minutes: 15 run: |