Skip to content

Commit 1850e2f

Browse files
authored
Merge pull request #85 from fleetbase/patch/profile-release
hotfix: source .env for each step required
2 parents 9c25334 + 8a0c380 commit 1850e2f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/profile-release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,13 @@ jobs:
482482
483483
- name: Build or Deploy Android app
484484
run: |
485+
set -e
486+
487+
# Load .env variables into step
488+
set -a
489+
source ./.env
490+
set +a
491+
485492
cd android
486493
chmod +x ./gradlew
487494
@@ -641,6 +648,11 @@ jobs:
641648
642649
- name: Set up iOS authentication
643650
run: |
651+
# Load .env variables into step
652+
set -a
653+
source ./.env
654+
set +a
655+
644656
echo "🔐 Setting up iOS authentication (required for all iOS builds)"
645657
646658
# Check if Apple credentials are available
@@ -718,6 +730,12 @@ jobs:
718730
MATCH_S3_REGION: ${{ secrets.AWS_REGION || 'ap-southeast-1' }}
719731
run: |
720732
set -e
733+
734+
# Load .env variables into step
735+
set -a
736+
source ./.env
737+
set +a
738+
721739
cd ios
722740
723741
echo "📋 Available Fastlane lanes:"

0 commit comments

Comments
 (0)