From ac7f5c2f105f1585394d05ba2b40f7e212e74d1b Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Mon, 23 Dec 2024 03:28:21 -0500 Subject: [PATCH] Fix fastlane vars being set in wrong step --- .github/workflows/publish-beta.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-beta.yml b/.github/workflows/publish-beta.yml index a764fe73..e9b4d853 100644 --- a/.github/workflows/publish-beta.yml +++ b/.github/workflows/publish-beta.yml @@ -14,12 +14,6 @@ jobs: - name: Setup signing environment env: - APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_KEY_ID_EXPO }} - APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_ISSUER_ID }} - APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_KEY_CONTENTS_EXPO }} - APP_STORE_CONNECT_API_KEY_IS_KEY_CONTENT_BASE64: true - APP_STORE_CONNECT_API_KEY_DURATION: 1200 - APP_STORE_CONNECT_API_KEY_IN_HOUSE: false BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }} BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64_EXPO }} KEYCHAIN_PASSWORD: "CI_PASSWORD" @@ -51,6 +45,13 @@ jobs: sudo cp $PP_PATH /Library/MobileDevice/Provisioning\ Profiles - name: Build and publish beta + env: + APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_KEY_ID_EXPO }} + APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_ISSUER_ID }} + APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_KEY_CONTENTS_EXPO }} + APP_STORE_CONNECT_API_KEY_IS_KEY_CONTENT_BASE64: true + APP_STORE_CONNECT_API_KEY_DURATION: 1200 + APP_STORE_CONNECT_API_KEY_IN_HOUSE: false run: fastlane beta \ keyID:"${{ secrets.APP_STORE_KEY_ID_EXPO }}" \ issuerID:"${{ secrets.APP_STORE_ISSUER_ID }}" \