Skip to content

Commit 3ed040c

Browse files
authored
[PM-18414] Fix TestFlight upload (#1616)
1 parent c74e9b6 commit 3ed040c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ jobs:
423423
Compiler Flags: $_COMPILER_FLAGS
424424
$_GITHUB_ACTION_RUN_URL"
425425
426-
fastlane upload_build \
426+
bundle exec fastlane upload_build \
427427
api_key_path:"$HOME/secrets/appstoreconnect-fastlane.json" \
428428
changelog:"$CHANGELOG" \
429429
ipa_path:"export/Bitwarden.ipa"

fastlane/Fastfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ ARTIFACT_EXTENSION = {
3636

3737
platform :ios do |options|
3838
before_all do
39+
# Support running independent lanes without --env argument
40+
if !lane_context[:ENVIRONMENT]
41+
UI.important("--env argument is missing, skipping setting up fastlane environment...")
42+
next
43+
end
44+
3945
ensure_env_vars(
4046
env_vars: ['_APP']
4147
)

0 commit comments

Comments
 (0)