Skip to content

Commit

Permalink
remove build app
Browse files Browse the repository at this point in the history
  • Loading branch information
aidaiym committed Aug 1, 2024
1 parent 3f8e1b9 commit cb7ab72
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 33 deletions.
34 changes: 14 additions & 20 deletions .github/workflows/app_distribution_ios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,19 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true # Enable caching for bundle install results
working-directory: app/ios/fastlane # Set the working directory to the location of the Gemfile
bundler-cache: true
working-directory: app/ios/fastlane

- name: Install Dependencies
run: bundle install --retry 3 --jobs 4
working-directory: app/ios/fastlane # Ensure the Bundler command is run in the correct directory
- name: Install Dependencies
run: bundle install --retry 3 --jobs 4
working-directory: app/ios/fastlane

# - name: Run Fastlane Increment Version
# uses: maierj/[email protected]
# with:
# lane: 'ios increment_version'
# subdirectory: 'app/ios/fastlane'
# env:
# FIREBASE_TOKEN: '1//0cRXAgtWTnX9hCgYIARAAGAwSNwF-L9IrW3YAY8S0Se9HemYo1pKoN0fuUCCmteWN45gSOhLpHwtZFTLqFROyzS86bvS8VuiAvpQ'

- name: Run Fastlane Distribute
uses: maierj/[email protected]
with:
lane: 'ios distribute'
subdirectory: 'app/ios/fastlane'
env:
FIREBASE_TOKEN: '1//0cRXAgtWTnX9hCgYIARAAGAwSNwF-L9IrW3YAY8S0Se9HemYo1pKoN0fuUCCmteWN45gSOhLpHwtZFTLqFROyzS86bvS8VuiAvpQ'
- name: Setup Fastlane Match
run: fastlane match development --type development

- name: Run Fastlane Distribute
uses: maierj/[email protected]
with:
lane: 'ios distribute'
subdirectory: 'app/ios/fastlane'
env:
Binary file modified app/ios/Runner.app.dSYM.zip
Binary file not shown.
Binary file modified app/ios/Runner.ipa
Binary file not shown.
2 changes: 2 additions & 0 deletions app/ios/fastlane/.env.default
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MATCH_PASSWORD="myquran01!"
MATCH_GIT_BASIC_AUTHORIZATION="your_GIT_PAT_TOKEN"
7 changes: 3 additions & 4 deletions app/ios/fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
app_identifier("com.alee.hatimapp")
apple_id()
team_id()
# apple_id("[[APPLE_ID]]") # Your Apple Developer Portal username


# For more information about the Appfile, see:
# https://docs.fastlane.tools/advanced/#appfile
4 changes: 2 additions & 2 deletions app/ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ platform :ios do

desc "Distribute the app"
lane :distribute do
build_ios_app()
# build_ios_app()
firebase_app_distribution(
app: "1:417182149715:ios:f6d207c487b6110e76eaa6",
testers: "my_quran_testers",
release_notes: "Lots of amazing new features to test out!",
auth_token: ENV['FIREBASE_TOKEN']
# auth_token: ENV['FIREBASE_TOKEN']
)
end
end
8 changes: 8 additions & 0 deletions app/ios/fastlane/Matchfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
git_url("https://github.com/aidaiym/test")

storage_mode("git")

type("development")

app_identifier(["com.alee.hatimapp"])
username("[email protected]") #
10 changes: 9 additions & 1 deletion app/ios/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,21 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do

## iOS

### ios increment_version

```sh
[bundle exec] fastlane ios increment_version
```

Increment the build number

### ios distribute

```sh
[bundle exec] fastlane ios distribute
```

MyQuran App
Distribute the app

----

Expand Down
7 changes: 1 addition & 6 deletions app/ios/fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@



<testcase classname="fastlane.lanes" name="0: build_ios_app" time="202.258149">

</testcase>


<testcase classname="fastlane.lanes" name="1: firebase_app_distribution" time="12.678955">
<testcase classname="fastlane.lanes" name="0: firebase_app_distribution" time="19.009564">

</testcase>

Expand Down

0 comments on commit cb7ab72

Please sign in to comment.