Skip to content

Commit 6703bed

Browse files
Merge pull request #8 from EmergeTools/update-gh-action
Update README (iOS only going fwd) + Bump Deps
2 parents 0fbc7d7 + 0715dea commit 6703bed

File tree

7 files changed

+38468
-7429
lines changed

7 files changed

+38468
-7429
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Emerge upload action - DEPRECATED
1+
# Emerge upload action - (iOS future support only)
22

33
> [!IMPORTANT]
4-
> Emerge will no longer support this Github action and recommends using the [Emerge Fastlane plugin](https://docs.emergetools.com/docs/fastlane) or the [Emerge Gradle plugin](https://docs.emergetools.com/docs/gradle-plugin) as primary integration points on iOS/Android respectively.
4+
> This action is no longer maintained for Android usage (please use the [Emerge Gradle plugin](https://docs.emergetools.com/docs/gradle-plugin) instead). As for iOS, if you don't have an existing CI setup or already use fastlane, we strongly recommend you use the [Emerge Fastlane plugin](https://docs.emergetools.com/docs/fastlane).
55
> If using the Fastlane/Gradle plugins, the GitHub action is unnecessary, as all upload functionality is built into the respective integrations.
66
77
Action to upload your build directly to Emerge for analysis.
@@ -36,21 +36,21 @@ name: Your workflow
3636

3737
on:
3838
push:
39-
branches: [ main ]
39+
branches: [main]
4040
pull_request:
41-
branches: [ main ]
41+
branches: [main]
4242

4343
jobs:
4444
build:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v2
48-
- name: Generate Android release bundle
49-
run: ./gradlew bundleRelease
48+
- name: Generate iOS archive build
49+
run: # generate release build, e.g. with xcodebuild
5050
- name: Upload artifact to Emerge
51-
uses: EmergeTools/emerge-upload-action@v1.0.2
51+
uses: EmergeTools/emerge-upload-action@v1.0.4
5252
with:
53-
artifact_path: ./app/build/outputs/bundle/release/app-release.aab
53+
artifact_path: path/to/app-release.xcarchive.zip
5454
emerge_api_key: ${{ secrets.EMERGE_API_KEY }}
5555
build_type: release # Optional, change if your workflow builds a specific type
5656
```
@@ -59,4 +59,4 @@ After uploading, Emerge will run analysis on the uploaded build. If you haven't,
5959
our [Github documentation](https://docs.emergetools.com/docs/github).
6060
6161
For more details about the upload process and Emerge's supported artifact types, see
62-
the [Emerge Uploading docs](https://docs.emergetools.com/docs/uploading-basics).
62+
the [Emerge Uploading docs](https://docs.emergetools.com/docs/uploading-basics).

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "Emerge Upload"
2-
description: "Github Action for uploading an artifact to Emerge."
2+
description: "Github Action for uploading an artifact to Emerge. Should only used for iOS use cases."
33
author: "EmergeTools"
44
inputs:
55
artifact_path:
@@ -18,5 +18,5 @@ inputs:
1818
description: "The name for the build type (e.g. 'release', 'debug', 'beta')"
1919
required: false
2020
runs:
21-
using: 'node12'
22-
main: 'dist/index.js'
21+
using: "node20"
22+
main: "dist/index.js"

0 commit comments

Comments
 (0)