Refactor private beta workflow

- Reword main job

- Move tweak arguments to step env
This commit is contained in:
Davide De Rosa 2022-04-23 10:29:22 +02:00
parent 10537c5a29
commit 8d2494d885
1 changed files with 7 additions and 3 deletions

View File

@ -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: |