Skip to content

Commit

Permalink
Fastlane and workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewc committed Sep 11, 2023
1 parent e68c2de commit 8013064
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/android-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
ruby-version: "2.6"
bundler-cache: true

- uses: actions/setup-ruby@v1
with:
ruby-version: '2.6'

- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/ios-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@ on: pull_request

jobs:
distribute-ios:
runs-on: ubuntu-latest
runs-on: macos-latest

steps:
- uses: actions/checkout@v2

- name: Select Xcode Version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- uses: ruby/setup-ruby@v1
with:
ruby-version: "2.6"
bundler-cache: true

- uses: actions/setup-ruby@v1
with:
ruby-version: '2.6'

- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ platform :android do
return s[re, 1]
end

lane : do
lane :preview do
appetize_api_token = ENV['APPETIZE_API_TOKEN']

puts "PR_NUMBER: " + pr_number
Expand Down
45 changes: 45 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
fastlane documentation
----

# Installation

Make sure you have the latest version of the Xcode command line tools installed:

```sh
xcode-select --install
```

For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)

# Available Actions

## Android

### android ≈

```sh
[bundle exec] fastlane android ≈
```



----


## iOS

### ios preview

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

This action builds the app and uplads it to Appetize

----

This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.

More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).

The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
18 changes: 18 additions & 0 deletions fastlane/report.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="fastlane.lanes">




<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000224">

</testcase>


<testcase classname="fastlane.lanes" name="1: zip" time="2.411888">

</testcase>

</testsuite>
</testsuites>

0 comments on commit 8013064

Please sign in to comment.