From c0cc65b7eaf3e14e7eea2e6242489f82da82789e Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Wed, 27 Apr 2022 15:59:41 +0200 Subject: [PATCH] Try move BUILD_NUMBER to global workflow env --- .github/workflows/private_beta.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/private_beta.yml b/.github/workflows/private_beta.yml index 9441d9b5..11f082d9 100644 --- a/.github/workflows/private_beta.yml +++ b/.github/workflows/private_beta.yml @@ -11,6 +11,7 @@ env: APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }} FASTLANE_USERNAME: ${{ secrets.FASTLANE_USERNAME }} FASTLANE_PASSWORD: ${{ secrets.FASTLANE_PASSWORD }} + BUILD_NUMBER: ${{ github.event.inputs.build_number }} jobs: build_upload: @@ -61,7 +62,6 @@ jobs: 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: | @@ -90,5 +90,4 @@ jobs: - name: Tag beta run: | APP_VERSION=`ci/version-number.sh ios` - BUILD_NUMBER=`ci/build-number.sh ios` git tag "v$APP_VERSION-pb$BUILD_NUMBER" && git push --tags