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: jobs:
build_upload: build_upload:
name: Upload to ASC name: Distribute Private Beta
runs-on: macos-11 runs-on: macos-11
environment: environment:
name: private_beta name: private_beta
@ -60,9 +60,13 @@ jobs:
scripts/ci/recognize-match-hostname.sh scripts/ci/recognize-match-hostname.sh
bundle exec fastlane --env ${{ matrix.platform }} match development bundle exec fastlane --env ${{ matrix.platform }} match development
- name: Tweak build - 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: | run: |
ci/set-build.sh ${{ github.event.inputs.build_number }} ci/set-build.sh $BUILD_NUMBER
/usr/libexec/PlistBuddy -c "Add :com.algoritmico.Passepartout.config:app_type integer 2" Passepartout/App/Info.plist /usr/libexec/PlistBuddy -c $PLIST_COMMAND $PLIST_PATH
- name: Build ${{ matrix.name }} app - name: Build ${{ matrix.name }} app
timeout-minutes: 15 timeout-minutes: 15
run: | run: |