diff --git a/.github/workflows/android_release.yml b/.github/workflows/android_release.yml --- a/.github/workflows/android_release.yml +++ b/.github/workflows/android_release.yml @@ -29,6 +29,12 @@ - name: yarn --frozen-lockfile --network-timeout 180000 run: yarn --frozen-lockfile --network-timeout 180000 + - name: Save ALCHEMY_API_KEY to file + working-directory: ./native + env: + ALCHEMY_API_KEY: ${{secrets.ALCHEMY_API_KEY}} + run: mkdir -p facts && echo '{"key":"'"$ALCHEMY_API_KEY"'"}' > facts/alchemy.json + - name: Save ANDROID_KEY_STORE_B64 to file env: ANDROID_KEY_STORE_B64: ${{secrets.ANDROID_KEY_STORE_B64}} diff --git a/.github/workflows/ios_release.yml b/.github/workflows/ios_release.yml --- a/.github/workflows/ios_release.yml +++ b/.github/workflows/ios_release.yml @@ -44,6 +44,12 @@ - name: yarn --frozen-lockfile --network-timeout 180000 run: yarn --frozen-lockfile --network-timeout 180000 + - name: Save ALCHEMY_API_KEY to file + working-directory: ./native + env: + ALCHEMY_API_KEY: ${{secrets.ALCHEMY_API_KEY}} + run: mkdir -p facts && echo '{"key":"'"$ALCHEMY_API_KEY"'"}' > facts/alchemy.json + - name: Save auth_key to file working-directory: ./native/ios env: