Skip to content

Commit

Permalink
Ios workflow updated for the api key
Browse files Browse the repository at this point in the history
  • Loading branch information
AslihanYoldas committed Jan 27, 2025
1 parent 0281de8 commit fe2f54d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ios_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@ jobs:
architecture: x64
- run: flutter pub get

- name: Create API Key File
run: |
mkdir -p lib/utils
echo "const String KEY = '${{ secrets.API_KEY }}';" > lib/utils/key.dart
- run: pod repo update
working-directory: ios

- run: flutter build ios --release --no-codesign
- run: flutter build ios --release

- run: mkdir Payload
working-directory: build/ios/iphoneos
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ app.*.map.json
/android/app/release

/lib/utils/key.dart
utils/key.dart
/lib/TO DO LIST

0 comments on commit fe2f54d

Please sign in to comment.