Run non-build jobs on ubuntu-latest

- Change build/version readers to use raw plist (vs agvtool)
- Former env issue should be related to non-bash shell
This commit is contained in:
Davide De Rosa 2021-10-08 11:16:30 +02:00
parent d0f9bd5a4b
commit 79f078ec3e
2 changed files with 7 additions and 3 deletions

View File

@ -67,7 +67,7 @@ jobs:
run: | run: |
bundle exec fastlane --env ios,beta store_upload bundle exec fastlane --env ios,beta store_upload
submit_to_testflight: submit_to_testflight:
runs-on: macos-10.15 runs-on: ubuntu-latest
needs: upload_to_app_store needs: upload_to_app_store
environment: environment:
name: testflight name: testflight
@ -88,14 +88,16 @@ jobs:
bundler-cache: true bundler-cache: true
- name: Submit to TestFlight (macOS) - name: Submit to TestFlight (macOS)
run: | run: |
export PILOT_BUILD_NUMBER=`ci/build-number.sh mac`
export PILOT_CHANGELOG=`ci/build-changelog.sh mac` export PILOT_CHANGELOG=`ci/build-changelog.sh mac`
bundle exec fastlane --env mac,beta store_beta bundle exec fastlane --env mac,beta store_beta
- name: Submit to TestFlight (iOS) - name: Submit to TestFlight (iOS)
run: | run: |
export PILOT_BUILD_NUMBER=`ci/build-number.sh ios`
export PILOT_CHANGELOG=`ci/build-changelog.sh ios` export PILOT_CHANGELOG=`ci/build-changelog.sh ios`
bundle exec fastlane --env ios,beta store_beta bundle exec fastlane --env ios,beta store_beta
submit_for_app_review: submit_for_app_review:
runs-on: macos-10.15 runs-on: ubuntu-latest
needs: submit_to_testflight needs: submit_to_testflight
environment: environment:
name: app_review name: app_review
@ -119,7 +121,9 @@ jobs:
bundle exec fastlane --env ios update_metadata bundle exec fastlane --env ios update_metadata
- name: Submit for App Review (macOS) - name: Submit for App Review (macOS)
run: | run: |
export DELIVER_BUILD_NUMBER=`ci/build-number.sh mac`
bundle exec fastlane --env mac store_review bundle exec fastlane --env mac store_review
- name: Submit for App Review (iOS) - name: Submit for App Review (iOS)
run: | run: |
export DELIVER_BUILD_NUMBER=`ci/build-number.sh ios`
bundle exec fastlane --env ios store_review bundle exec fastlane --env ios store_review

@ -1 +1 @@
Subproject commit 7f4d7d415e60ed345a415888e088f7fed0a9b412 Subproject commit 600ccdc845727ef181371b086b53f7ed387278cf