Skip to content

Commit

Permalink
testflight
Browse files Browse the repository at this point in the history
  • Loading branch information
ogulcan keskin committed Sep 19, 2023
1 parent a8d0c96 commit b937683
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ jobs:
- name: Install gems
run: bundle install

- name: Run Tests (No Cache)
run: bundle exec fastlane tests
- name: Build and Upload to Testflight
run: bundle exec fastlane runTestFlight
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}



5 changes: 3 additions & 2 deletions Fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ platform :ios do
)
end

lane :testFlight do
match(type: "appstore", readonly: true)
lane :runTestFlight do
setup_ci if ENV['CI']
match(type: "appstore", scheme: "Deneysiz", readonly: true, git_basic_authorization: ENV["MATCH_GIT_BASIC_AUTHORIZATION"])
build_app
end
end
2 changes: 2 additions & 0 deletions Fastlane/Matchfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ storage_mode("git")

type("development") # The default type, can be: appstore, adhoc, enterprise or development

username("ogulcankeskin93")

# app_identifier(["tools.fastlane.app", "tools.fastlane.app2"])
# username("[email protected]") # Your Apple Developer Portal username

Expand Down
4 changes: 2 additions & 2 deletions Fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ Builds project and executes unit tests

Running iOS tests using fastlane

### ios testFlight
### ios runTestFlight

```sh
[bundle exec] fastlane ios testFlight
[bundle exec] fastlane ios runTestFlight
```


Expand Down

0 comments on commit b937683

Please sign in to comment.