Refactor private beta workflow
- Reword main job - Move tweak arguments to step env
This commit is contained in:
parent
10537c5a29
commit
8d2494d885
|
@ -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: |
|
||||||
|
|
Loading…
Reference in New Issue